Class: AppLocale::BaseCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/applocale/base_command.rb

Direct Known Subclasses

FileWriter, Pull

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config, options) ⇒ BaseCommand

Returns a new instance of BaseCommand.



5
6
7
8
# File 'lib/applocale/base_command.rb', line 5

def initialize(config, options)
  @config = config
  @options = options
end

Instance Attribute Details

#configObject

Returns the value of attribute config.



3
4
5
# File 'lib/applocale/base_command.rb', line 3

def config
  @config
end

#optionsObject

Returns the value of attribute options.



3
4
5
# File 'lib/applocale/base_command.rb', line 3

def options
  @options
end