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