class TPPlus::Nodes::StringNode

Public Class Methods

new(s) click to toggle source
# File lib/tp_plus/nodes/string_node.rb, line 4
def initialize(s)
  @s = s
end

Public Instance Methods

eval(context) click to toggle source
# File lib/tp_plus/nodes/string_node.rb, line 8
def eval(context)
  "'#{@s}'"
end