Class: TrueClass
- 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/true_class.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#blank? ⇒ FalseClass
True is never blank.
- #duplicable? ⇒ Boolean
-
#to_json(options = nil) ⇒ Object
:nodoc:.
- #try_dup ⇒ Object
Instance Method Details
#blank? ⇒ FalseClass
True is never blank.
true.blank? #=> false
56 57 58 |
# File 'lib/gems/extlib-0.9.9/lib/extlib/blank.rb', line 56 def blank? false end |
#duplicable? ⇒ Boolean
22 23 24 |
# File 'lib/gems/activesupport-2.2.2/lib/active_support/core_ext/duplicable.rb', line 22 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/true_class.rb', line 2 def to_json( = nil) #:nodoc: 'true' end |
#try_dup ⇒ Object
2 3 4 |
# File 'lib/gems/extlib-0.9.9/lib/extlib/boolean.rb', line 2 def try_dup self end |