Method: Inch::CLI::Command::Base#initialize

Defined in:
lib/inch/cli/command/base.rb

#initializeBase

Returns a new instance of Base.



62
63
64
65
66
67
# File 'lib/inch/cli/command/base.rb', line 62

def initialize
  name = self.class.to_s.split('::').last
  options_class = Command::Options.const_get(name)
  @options = options_class.new
  @options.usage = usage
end