Class: Hashira::Boundaries

Inherits:
Object
  • Object
show all
Defined in:
lib/hashira/boundaries.rb

Defined Under Namespace

Classes: Declaration

Constant Summary collapse

ROLE =
"interpreted_model"

Instance Method Summary collapse

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

#interpretedObject



25
26
27
28
29
# File 'lib/hashira/boundaries.rb', line 25

def interpreted
  return @_interpreted if @_interpreted
  verify
  @_interpreted = entries.map(&:root)
end