Class: VraptorScaffold::Runner::Help

Inherits:
Object
  • Object
show all
Defined in:
lib/vraptor-scaffold/runner/help.rb

Class Method Summary collapse

Class Method Details

.help?(arg) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/vraptor-scaffold/runner/help.rb', line 6

def self.help?(arg)
  [nil, "-h", "--help"].include?(arg)
end