Class: FalseClass
- Defined in:
- lib/active_support/core_ext/object/json.rb,
lib/active_support/core_ext/object/blank.rb,
lib/active_support/core_ext/object/to_query.rb
Instance Method Summary collapse
-
#as_json(options = nil) ⇒ Object
:nodoc:.
-
#blank? ⇒ true
false
is blank:. -
#present? ⇒ Boolean
:nodoc:.
-
#to_param ⇒ Object
Returns
self
.
Instance Method Details
#as_json(options = nil) ⇒ Object
:nodoc:
87 88 89 |
# File 'lib/active_support/core_ext/object/json.rb', line 87 def as_json( = nil) # :nodoc: self end |
#blank? ⇒ true
false
is blank:
false.blank? # => true
71 72 73 |
# File 'lib/active_support/core_ext/object/blank.rb', line 71 def blank? true end |
#present? ⇒ Boolean
:nodoc:
75 76 77 |
# File 'lib/active_support/core_ext/object/blank.rb', line 75 def present? # :nodoc: false end |
#to_param ⇒ Object
Returns self
.
34 35 36 |
# File 'lib/active_support/core_ext/object/to_query.rb', line 34 def to_param self end |