Class: Egads::Command
- Inherits:
-
Thor
- Object
- Thor
- Egads::Command
- Defined in:
- lib/egads/command.rb
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
Always exit on failure.
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
Always exit on failure
5 6 7 |
# File 'lib/egads/command.rb', line 5 def self.exit_on_failure? true end |
Instance Method Details
#version ⇒ Object
28 29 30 |
# File 'lib/egads/command.rb', line 28 def version puts "#{File.basename($0)} #{VERSION}" end |