Class: RgGen::Generator::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/rggen/generator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeContext

Returns a new instance of Context.



4
5
6
7
# File 'lib/rggen/generator.rb', line 4

def initialize
  super
  self.options  = {}
end

Instance Attribute Details

#configurationObject

Returns the value of attribute configuration

Returns:

  • (Object)

    the current value of configuration



3
4
5
# File 'lib/rggen/generator.rb', line 3

def configuration
  @configuration
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



3
4
5
# File 'lib/rggen/generator.rb', line 3

def options
  @options
end

#register_mapObject

Returns the value of attribute register_map

Returns:

  • (Object)

    the current value of register_map



3
4
5
# File 'lib/rggen/generator.rb', line 3

def register_map
  @register_map
end