class Farts::LiteralSyntaxNode

Public Class Methods

new( lineno, val ) click to toggle source
# File lib/farts/farts_parser.rb, line 751
def initialize( lineno, val )
  super lineno
  @val = val
end

Public Instance Methods

execute( intp ) click to toggle source
# File lib/farts/farts_parser.rb, line 756
def execute( intp )
  @val.class == String ? @val.dup : @val
end