Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#&(other) ⇒ Object



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

def &        other ; self               ; end

#+(other) ⇒ Object



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

def +        other ; other              ; end

#_nydp_call(*_) ⇒ Object

Raises:



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

def _nydp_call  *_ ; raise CantCallNil  ; end

#_nydp_get(a) ⇒ Object



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

def _nydp_get    a ; self               ; end

#_nydp_set(a, v) ⇒ Object



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

def _nydp_set a, v ; self               ; end

#assign(*_) ⇒ Object



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

def assign      *_ ; self               ; end

#carObject



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

def car            ; self               ; end

#cdrObject



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

def cdr            ; self               ; end

#compile_to_ruby(i, s, o = nil) ⇒ Object



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

def compile_to_ruby i, s, o=nil ; "#{i}nil"      ; end

#copyObject



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

def copy           ; self               ; end

#is?(other) ⇒ Boolean

Returns:

  • (Boolean)


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

def is?      other ; self.equal? other  ; end

#isnt?(other) ⇒ Boolean

Returns:

  • (Boolean)


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

def isnt?    other ; !self.equal? other ; end

#nydp_typeObject



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

def nydp_type      ; :nil               ; end

#sizeObject



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

def size           ; 0                  ; end

#|(other) ⇒ Object



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

def |        other ; other              ; end