Class: FalseClass

Inherits:
Object show all
Defined in:
lib/nyara/patches/blank.rb,
lib/nyara/patches/to_query.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

+false+ is blank:

false.blank? # => true

Returns:

  • (Boolean)

78
79
80
# File 'lib/nyara/patches/blank.rb', line 78

def blank?
  true
end

#to_paramObject

Returns +self+.


53
54
55
# File 'lib/nyara/patches/to_query.rb', line 53

def to_param
  self
end