Method: Arbre::Element#build

Defined in:
lib/arbre/element.rb

#build(*args, &block) ⇒ Object



32
33
34
35
# File 'lib/arbre/element.rb', line 32

def build(*args, &block)
  # Render the block passing ourselves in
  append_return_block(block.call(self)) if block
end