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 86

def blank?
  false
end

#present?Boolean (readonly)

This method is for internal use only.
[ GitHub ]

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

def present? # :nodoc:
  true
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 81

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