class Copper::ParamRightAssociated

Public Instance Methods

value(vars = {}) click to toggle source
# File lib/copper/param_right_associated.rb, line 3
def value(vars = {})
        rhs = self.parent.elements[0].value(vars)
        lhs = self.elements[0].value(vars)

        return ([rhs] + [lhs]).flatten
end