Class: Rley::EngineConfig
- Inherits:
-
Struct
- Object
- Struct
- Rley::EngineConfig
- Defined in:
- lib/rley/engine.rb
Instance Attribute Summary collapse
-
#diagnose ⇒ Object
Returns the value of attribute diagnose.
-
#parse_repr ⇒ Object
Returns the value of attribute parse_repr.
-
#repr_builder ⇒ Object
Returns the value of attribute repr_builder.
Instance Method Summary collapse
-
#initialize ⇒ EngineConfig
constructor
A new instance of EngineConfig.
Constructor Details
#initialize ⇒ EngineConfig
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
#diagnose ⇒ Object
Returns the value of attribute diagnose
6 7 8 |
# File 'lib/rley/engine.rb', line 6 def diagnose @diagnose end |
#parse_repr ⇒ Object
Returns the value of attribute parse_repr
6 7 8 |
# File 'lib/rley/engine.rb', line 6 def parse_repr @parse_repr end |
#repr_builder ⇒ Object
Returns the value of attribute repr_builder
6 7 8 |
# File 'lib/rley/engine.rb', line 6 def repr_builder @repr_builder end |