class TurboTest::Command::Top

The top level command for the `falcon` executable.

Public Instance Methods

call() click to toggle source

Prepare the environment and invoke the sub-command.

# File lib/turbo_test/command/top.rb, line 51
def call
        if @options[:version]
                puts "#{self.name} v#{VERSION}"
        elsif @options[:help]
                self.print_usage
        else
                @command.call
        end
end