Class: Swiftproj::VersionCommand
- Defined in:
- lib/swiftproj/commands/version_command.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Command
#command_class, command_name, #get_command, help_message, #initialize, options, #parse_options
Constructor Details
This class inherits a constructor from Swiftproj::Command
Class Method Details
.description ⇒ Object
3 4 5 |
# File 'lib/swiftproj/commands/version_command.rb', line 3 def self.description() return "Displays the current version of swiftproj" end |
Instance Method Details
#run(options) ⇒ Object
7 8 9 |
# File 'lib/swiftproj/commands/version_command.rb', line 7 def run() @ui.puts Swiftproj::VERSION end |