Class: Babl::Nodes::Object

Inherits:
Object
  • Object
show all
Defined in:
lib/babl/nodes/object.rb

Constant Summary collapse

EMPTY =
new(Utils::Hash::EMPTY)

Instance Method Summary collapse

Instance Method Details

#render(frame) ⇒ Object



34
35
36
37
38
# File 'lib/babl/nodes/object.rb', line 34

def render(frame)
    out = {}
    nodes.each { |k, v| out[k] = v.render(frame) }
    out
end