Class: FalseClass

Inherits:
Object show all
Defined in:
lib/simple_ext/object/blank.rb,
lib/simple_ext/object/to_query.rb

Instance Method Summary collapse

Instance Method Details

#blank?true

false is blank:

false.blank? # => true

Returns:

  • (true)


66
67
68
# File 'lib/simple_ext/object/blank.rb', line 66

def blank?
  true
end

#to_paramObject

Returns self.



34
35
36
# File 'lib/simple_ext/object/to_query.rb', line 34

def to_param
  self
end