class Basic101::ValFunction

Public Instance Methods

call(runtime, args) click to toggle source
# File lib/basic101/val_function.rb, line 11
def call(runtime, args)
  check_args args, [BasicString]
  args.first.eval(runtime).val
end
name() click to toggle source
# File lib/basic101/val_function.rb, line 7
def name
  'VAL'
end