Class: Emf::Emr::PathAssociation
- Inherits:
-
Object
- Object
- Emf::Emr::PathAssociation
- Defined in:
- lib/emf/emr/path_association.rb
Instance Method Summary collapse
-
#initialize ⇒ PathAssociation
constructor
A new instance of PathAssociation.
- #lookup(render_offset) ⇒ Object
Constructor Details
#initialize ⇒ PathAssociation
Returns a new instance of PathAssociation.
7 8 9 |
# File 'lib/emf/emr/path_association.rb', line 7 def initialize @table = {} end |
Instance Method Details
#lookup(render_offset) ⇒ Object
11 12 13 |
# File 'lib/emf/emr/path_association.rb', line 11 def lookup(render_offset) @table.fetch(render_offset, nil) end |