Class: FalseClass
- 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('false').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:
163 |
# File 'lib/active_support/json/encoding.rb', line 163 def as_json( = nil) AS_JSON end |
#blank? ⇒ Boolean
47 48 49 |
# File 'lib/active_support/core_ext/object/blank.rb', line 47 def blank? true end |
#duplicable? ⇒ Boolean
32 33 34 |
# File 'lib/active_support/core_ext/object/duplicable.rb', line 32 def duplicable? false end |
#to_param ⇒ Object
23 24 25 |
# File 'lib/active_support/core_ext/object/to_param.rb', line 23 def to_param self end |