Class: FalseClass
Relationships & Source Files | |
Inherits: | Object |
Defined in: | activesupport/lib/active_support/core_ext/object/json.rb, activesupport/lib/active_support/core_ext/object/blank.rb, activesupport/lib/active_support/core_ext/object/to_query.rb |
Instance Attribute Summary
-
#blank? ⇒ true
readonly
false
is blank: - #present? ⇒ Boolean readonly Internal use only
Instance Method Summary
-
#to_param
Returns
self
. - #as_json(options = nil) Internal use only
Instance Attribute Details
#blank? ⇒ true
(readonly)
false
is blank:
false.blank? # => true
# File 'activesupport/lib/active_support/core_ext/object/blank.rb', line 71
def blank? true end
#present? ⇒ Boolean
(readonly)
This method is for internal use only.
[ GitHub ]
# File 'activesupport/lib/active_support/core_ext/object/blank.rb', line 75
def present? # :nodoc: false end
Instance Method Details
#as_json(options = nil)
This method is for internal use only.
[ GitHub ]
# File 'activesupport/lib/active_support/core_ext/object/json.rb', line 87
def as_json( = nil) # :nodoc: self end
#to_param
Returns self
.
# File 'activesupport/lib/active_support/core_ext/object/to_query.rb', line 34
def to_param self end