class EZML::AttributeCompiler::AttributeValue

Public Instance Methods

to_literal() click to toggle source
# File lib/ezml/attribute_compiler.rb, line 8
def to_literal
  case type
  when :static
    EZML::Util.inspect_obj(value)
  when :dynamic
    value
  end
end