Class: FalseClass
- Defined in:
- lib/gems/extlib-0.9.9/lib/extlib/blank.rb,
lib/gems/extlib-0.9.9/lib/extlib/boolean.rb,
lib/gems/activesupport-2.2.2/lib/active_support/core_ext/blank.rb,
lib/gems/activesupport-2.2.2/lib/active_support/core_ext/duplicable.rb,
lib/gems/activesupport-2.2.2/lib/active_support/json/encoders/false_class.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#blank? ⇒ TrueClass
False is always blank.
- #duplicable? ⇒ Boolean
-
#to_json(options = nil) ⇒ Object
:nodoc:.
- #try_dup ⇒ Object
Instance Method Details
#blank? ⇒ TrueClass
False is always blank.
false.blank? #=> true
70 71 72 |
# File 'lib/gems/extlib-0.9.9/lib/extlib/blank.rb', line 70 def blank? true end |
#duplicable? ⇒ Boolean
16 17 18 |
# File 'lib/gems/activesupport-2.2.2/lib/active_support/core_ext/duplicable.rb', line 16 def duplicable? false end |
#to_json(options = nil) ⇒ Object
:nodoc:
2 3 4 |
# File 'lib/gems/activesupport-2.2.2/lib/active_support/json/encoders/false_class.rb', line 2 def to_json( = nil) #:nodoc: 'false' end |
#try_dup ⇒ Object
8 9 10 |
# File 'lib/gems/extlib-0.9.9/lib/extlib/boolean.rb', line 8 def try_dup self end |