Class: Hitch::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/hitch/engine.rb

Class Method Summary collapse

Class Method Details

.doctor_command?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/hitch/engine.rb', line 8

def doctor_command?
  ARGV.reject { |argument| argument.start_with?("-") } == [ "hitch:doctor" ]
end