Class: Hashira::Boundaries
- Inherits:
-
Object
- Object
- Hashira::Boundaries
- Defined in:
- lib/hashira/boundaries.rb
Defined Under Namespace
Classes: Declaration
Constant Summary collapse
- ROLE =
"interpreted_model"
Instance Method Summary collapse
-
#initialize(records, trees) ⇒ Boundaries
constructor
A new instance of Boundaries.
- #interpreted ⇒ Object
Constructor Details
#initialize(records, trees) ⇒ Boundaries
Returns a new instance of Boundaries.
20 21 22 23 |
# File 'lib/hashira/boundaries.rb', line 20 def initialize(records, trees) @records = records @trees = trees end |
Instance Method Details
#interpreted ⇒ Object
25 26 27 28 29 |
# File 'lib/hashira/boundaries.rb', line 25 def interpreted return @_interpreted if @_interpreted verify @_interpreted = entries.map(&:root) end |