Class: Hash

Inherits:
Object show all
Includes:
Nydp::Helper
Defined in:
lib/nydp/core_ext.rb

Instance Method Summary collapse

Methods included from Nydp::Helper

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

Methods included from Nydp::Converter

#n2r, #r2n, #rubify

Instance Method Details

#_nydp_get(a) ⇒ Object



113
# File 'lib/nydp/core_ext.rb', line 113

def _nydp_get a    ; self[a]._nydp_wrapper     ; end

#_nydp_inspectObject



116
# File 'lib/nydp/core_ext.rb', line 116

def _nydp_inspect  ; "{" + map { |k,v| [k._nydp_inspect, v._nydp_inspect].join(" ")}.join(" ") + "}" ; end

#_nydp_keysObject



115
# File 'lib/nydp/core_ext.rb', line 115

def _nydp_keys     ; keys                      ; end

#_nydp_set(a, v) ⇒ Object



114
# File 'lib/nydp/core_ext.rb', line 114

def _nydp_set a, v ; self[a] = v               ; end

#nydp_typeObject



117
# File 'lib/nydp/core_ext.rb', line 117

def nydp_type      ; :hash                     ; end