Class: TrueClass
- Defined in:
- lib/active_support/core_ext/object/blank.rb,
lib/active_support/json/encoding.rb,
lib/active_support/core_ext/object/to_param.rb,
lib/active_support/core_ext/object/duplicable.rb
Overview
:nodoc:
Constant Summary collapse
- AS_JSON =
ActiveSupport::JSON::Variable.new('true').freeze
Instance Method Summary collapse
-
#as_json(options = nil) ⇒ Object
:nodoc:.
- #blank? ⇒ Boolean
- #duplicable? ⇒ Boolean
- #to_param ⇒ Object
Instance Method Details
#as_json(options = nil) ⇒ Object
:nodoc:
158 |
# File 'lib/active_support/json/encoding.rb', line 158 def as_json( = nil) AS_JSON end |
#blank? ⇒ Boolean
53 54 55 |
# File 'lib/active_support/core_ext/object/blank.rb', line 53 def blank? false end |
#duplicable? ⇒ Boolean
38 39 40 |
# File 'lib/active_support/core_ext/object/duplicable.rb', line 38 def duplicable? false end |
#to_param ⇒ Object
17 18 19 |
# File 'lib/active_support/core_ext/object/to_param.rb', line 17 def to_param self end |