Class: TrueClass
- Defined in:
 - lib/active_support/core_ext/object/json.rb,
lib/active_support/core_ext/object/blank.rb,
lib/active_support/core_ext/object/to_query.rb 
Instance Method Summary collapse
- 
  
    
      #as_json(options = nil)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
:nodoc:.
 - 
  
    
      #blank?  ⇒ false 
    
    
  
  
  
  
  
  
  
  
  
    
trueis not blank:. - 
  
    
      #present?  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    
:nodoc:.
 - 
  
    
      #to_param  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Returns
self. 
Instance Method Details
#as_json(options = nil) ⇒ Object
:nodoc:
      81 82 83  | 
    
      # File 'lib/active_support/core_ext/object/json.rb', line 81 def as_json( = nil) # :nodoc: self end  | 
  
#blank? ⇒ false
true is not blank:
true.blank? # => false
  
      86 87 88  | 
    
      # File 'lib/active_support/core_ext/object/blank.rb', line 86 def blank? false end  | 
  
#present? ⇒ Boolean
:nodoc:
      90 91 92  | 
    
      # File 'lib/active_support/core_ext/object/blank.rb', line 90 def present? # :nodoc: true end  | 
  
#to_param ⇒ Object
Returns self.
      33 34 35  | 
    
      # File 'lib/active_support/core_ext/object/to_query.rb', line 33 def to_param self end  |