123456789_123456789_123456789_123456789_123456789_

Class: TrueClass

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#blank?false (readonly)

true is not blank:

true.blank? # => false
[ GitHub ]

  
# File 'activesupport/lib/active_support/core_ext/object/blank.rb', line 78

def blank?
  false
end

Instance Method Details

#as_json(options = nil)

This method is for internal use only.
[ GitHub ]

  
# File 'activesupport/lib/active_support/core_ext/object/json.rb', line 83

def as_json(options = nil) # :nodoc:
  self
end

#to_param

Returns self.

[ GitHub ]

  
# File 'activesupport/lib/active_support/core_ext/object/to_query.rb', line 27

def to_param
  self
end