Class: Nydp::Builtin::Abs

Inherits:
Object show all
Includes:
Base, Singleton
Defined in:
lib/nydp/builtin/abs.rb

Instance Method Summary collapse

Methods included from Base

#call, #handle_error, ignore_errors, #inspect, #nydp_type, #to_s

Methods included from Helper

#cons, #list, #literal?, #pair?, #sig, #sym, #sym?

Methods included from Converter

#n2r, #r2n, #rubify

Instance Method Details

#builtin_call(arg) ⇒ Object



6
7
8
# File 'lib/nydp/builtin/abs.rb', line 6

def builtin_call arg
  arg.abs
end

#nameObject



4
# File 'lib/nydp/builtin/abs.rb', line 4

def name ; "mod" ; end