Class: Flor::Node::PseudoVarContainer
- Inherits:
-
Hash
- Object
- Hash
- Flor::Node::PseudoVarContainer
- Defined in:
- lib/flor/core/node.rb
Instance Method Summary collapse
-
#[](key) ⇒ Object
def has_key?(key); true; end.
-
#initialize(type) ⇒ PseudoVarContainer
constructor
inherit from Hash so that Dense is quietly mislead.
Constructor Details
#initialize(type) ⇒ PseudoVarContainer
inherit from Hash so that Dense is quietly mislead
366 |
# File 'lib/flor/core/node.rb', line 366 def initialize(type); @type = type; end |
Instance Method Details
#[](key) ⇒ Object
def has_key?(key); true; end
368 |
# File 'lib/flor/core/node.rb', line 368 def [](key); [ "_#{@type}", { @type => key }, -1 ]; end |