3 4 5 6 7 8 9 10 11 12
# File 'lib/liquify/tag.rb', line 3 def render(context) return unless respond_to? :invoke if method(:invoke).arity == 0 invoke else params = Liquify::Parameter.new(@markup, context) invoke(params) end end