Class: Habdsl::ResultParser

Inherits:
Object
  • Object
show all
Defined in:
lib/habdsl/result_parser.rb

Overview

The result of parsing a DSL file.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dslObject (readonly)

Returns the value of attribute dsl.



6
7
8
# File 'lib/habdsl/result_parser.rb', line 6

def dsl
  @dsl
end

#tableObject (readonly)

Returns the value of attribute table.



6
7
8
# File 'lib/habdsl/result_parser.rb', line 6

def table
  @table
end