Class: Nydp::Builtin::HashSet

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

Instance Method Summary collapse

Methods included from Helper

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

Methods included from Converter

#n2r, #r2n, #rubify

Methods included from Base

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

Instance Method Details

#builtin_call(hsh, k, v = nil) ⇒ Object



16
17
18
19
# File 'lib/nydp/builtin/hash.rb', line 16

def builtin_call hsh, k, v=nil
  hsh._nydp_set(k, v)
  v
end