Class: TrueClass
- 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,
lib/active_support/core_ext/object/duplicable.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:
64 65 66 |
# File 'lib/active_support/core_ext/object/json.rb', line 64 def as_json( = nil) #:nodoc: self end |
#blank? ⇒ false
true
is not blank:
true.blank? # => false
74 75 76 |
# File 'lib/active_support/core_ext/object/blank.rb', line 74 def blank? false end |
#to_param ⇒ Object
Returns self
.
25 26 27 |
# File 'lib/active_support/core_ext/object/to_query.rb', line 25 def to_param self end |