class Variable

Variable interpolation in a template

Public Instance Methods

to_html(context) click to toggle source
# File lib/emerald/nodes/variable.rb, line 9
def to_html(context)
  variable_name
    .content(context)
    .to_s
end