Module: Proteus::GlobalCommands::Version
- Included in:
- App
- Defined in:
- lib/proteus/global_commands/version.rb
Class Method Summary collapse
Class Method Details
.included(thor_class) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/proteus/global_commands/version.rb', line 5 def self.included(thor_class) thor_class.class_eval do desc "version", "Print version information" long_desc <<-LONGDESC Print version information LONGDESC def version say Proteus::VERSION, :green end end end |