module Copper::ExpressionUtils

Public Instance Methods

handle_attributes(parent, vars) click to toggle source
# File lib/copper/expression_utils.rb, line 4
def handle_attributes(parent, vars)
        tail = elements.last
        return parent if tail.nil? || !tail.is_a?(::Copper::Attributes)

        # run the tail
        return tail.value(parent, vars)
end