Class: Solid::Block

Inherits:
Liquid::Block
  • Object
show all
Includes:
Element
Defined in:
lib/solid/block.rb

Instance Method Summary collapse

Methods included from Element

included

Instance Method Details

#render(context) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/solid/block.rb', line 5

def render(context)
  with_context(context) do
    display(*arguments.interpolate(context)) do
      super
    end
  end
end