Class: TrueClass
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? ⇒ false
readonly
true
is not 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? ⇒ false
(readonly)
true
is not blank:
true.blank? # => false
# File 'activesupport/lib/active_support/core_ext/object/blank.rb', line 86
def blank? false end
#present? ⇒ Boolean
(readonly)
This method is for internal use only.
[ GitHub ]
# File 'activesupport/lib/active_support/core_ext/object/blank.rb', line 90
def present? # :nodoc: true 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 81
def as_json( = nil) # :nodoc: self end
#to_param
Returns self
.
# File 'activesupport/lib/active_support/core_ext/object/to_query.rb', line 27
def to_param self end