Class: Rley::EngineConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/rley/engine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEngineConfig

Returns a new instance of EngineConfig.



11
12
13
14
15
16
# File 'lib/rley/engine.rb', line 11

def initialize()
  super()
  self.parse_repr = :parse_tree
  self.repr_builder = :default
  self.diagnose = false
end

Instance Attribute Details

#diagnoseObject

Returns the value of attribute diagnose

Returns:

  • (Object)

    the current value of diagnose



6
7
8
# File 'lib/rley/engine.rb', line 6

def diagnose
  @diagnose
end

#parse_reprObject

Returns the value of attribute parse_repr

Returns:

  • (Object)

    the current value of parse_repr



6
7
8
# File 'lib/rley/engine.rb', line 6

def parse_repr
  @parse_repr
end

#repr_builderObject

Returns the value of attribute repr_builder

Returns:

  • (Object)

    the current value of repr_builder



6
7
8
# File 'lib/rley/engine.rb', line 6

def repr_builder
  @repr_builder
end