Class: TrueClass
- 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 Method Summary collapse
-
#as_json(options = nil) ⇒ Object
:nodoc:.
-
#blank? ⇒ false
true
is not blank:. -
#to_param ⇒ Object
Returns
self
.
Instance Method Details
#as_json(options = nil) ⇒ Object
:nodoc:
83 84 85 |
# File 'activesupport/lib/active_support/core_ext/object/json.rb', line 83 def as_json( = nil) # :nodoc: self end |
#blank? ⇒ false
true
is not blank:
true.blank? # => false
78 79 80 |
# File 'activesupport/lib/active_support/core_ext/object/blank.rb', line 78 def blank? false end |
#to_param ⇒ Object
Returns self
.
27 28 29 |
# File 'activesupport/lib/active_support/core_ext/object/to_query.rb', line 27 def to_param self end |