Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Same as Rails

Returns:

  • (Boolean)


4
5
6
# File 'lib/webget_ramp/nil.rb', line 4

def blank?
 return true
end

#size?Boolean

Return false

Returns:

  • (Boolean)


9
10
11
# File 'lib/webget_ramp/nil.rb', line 9

def size?
 return false
end