Class: Nil

Inherits:
Object
  • Object
show all
Defined in:
lib/core/nil.rb

Instance Method Summary collapse

Instance Method Details

#+(s) ⇒ Object



6
7
8
# File 'lib/core/nil.rb', line 6

def +(s)
  s
end

#to_sObject



2
3
4
# File 'lib/core/nil.rb', line 2

def to_s
  ''
end