Module: Charyf::Generators::ActionMethods

Defined in:
lib/charyf/utils/generators/app_base.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



14
15
16
# File 'lib/charyf/utils/generators/app_base.rb', line 14

def options
  @options
end

Instance Method Details

#initialize(generator) ⇒ Object



16
17
18
19
# File 'lib/charyf/utils/generators/app_base.rb', line 16

def initialize(generator)
  @generator = generator
  @options = generator.options
end