class Basic101::StrFunction

Public Instance Methods

call(runtime, args) click to toggle source
# File lib/basic101/str_function.rb, line 11
def call(runtime, args)
  check_args args, [BasicObject]
  args.first.eval(runtime).str
end
name() click to toggle source
# File lib/basic101/str_function.rb, line 7
def name
  'STR$'
end