Class: Rley::EngineConfig
- Inherits:
-
Struct
- Object
- Struct
- Rley::EngineConfig
- Defined in:
- lib/rley/engine.rb
Overview
Configuration of an Rley::Engine instance.
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
Constructor with default initialization.
Constructor Details
#initialize ⇒ EngineConfig
Constructor with default initialization.
20 21 22 23 24 25 |
# File 'lib/rley/engine.rb', line 20 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
12 13 14 |
# File 'lib/rley/engine.rb', line 12 def diagnose @diagnose end |
#parse_repr ⇒ Object
Returns the value of attribute parse_repr
12 13 14 |
# File 'lib/rley/engine.rb', line 12 def parse_repr @parse_repr end |
#repr_builder ⇒ Object
Returns the value of attribute repr_builder
12 13 14 |
# File 'lib/rley/engine.rb', line 12 def repr_builder @repr_builder end |