Class: Cuber::Commands::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/cuber/commands/version.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Version

Returns a new instance of Version.



4
5
6
# File 'lib/cuber/commands/version.rb', line 4

def initialize options
  @options = options
end

Instance Method Details

#executeObject



8
9
10
# File 'lib/cuber/commands/version.rb', line 8

def execute
  puts "Cuber v#{Cuber::VERSION}"
end