Class: TrueClass

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

+true+ is not blank:

true.blank? # => false

Returns:

  • (Boolean)

87
88
89
# File 'lib/nyara/patches/blank.rb', line 87

def blank?
  false
end

#to_paramObject

Returns +self+.


46
47
48
# File 'lib/nyara/patches/to_query.rb', line 46

def to_param
  self
end