Class: Habdsl::ResultParser
- Inherits:
-
Object
- Object
- Habdsl::ResultParser
- Defined in:
- lib/habdsl/result_parser.rb
Overview
The result of parsing a DSL file.
Instance Attribute Summary collapse
-
#dsl ⇒ Object
readonly
Returns the value of attribute dsl.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(dsl:, table: nil) ⇒ ResultParser
constructor
A new instance of ResultParser.
Constructor Details
#initialize(dsl:, table: nil) ⇒ ResultParser
Returns a new instance of ResultParser.
8 9 10 11 |
# File 'lib/habdsl/result_parser.rb', line 8 def initialize(dsl:, table: nil) @table = table @dsl = dsl end |
Instance Attribute Details
#dsl ⇒ Object (readonly)
Returns the value of attribute dsl.
6 7 8 |
# File 'lib/habdsl/result_parser.rb', line 6 def dsl @dsl end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
6 7 8 |
# File 'lib/habdsl/result_parser.rb', line 6 def table @table end |