Class TrueClass
In: lib/active_support/json/encoding.rb
lib/active_support/core_ext/object/to_param.rb
lib/active_support/core_ext/object/blank.rb
lib/active_support/core_ext/object/duplicable.rb
Parent: Object

Methods

Constants

AS_JSON = ActiveSupport::JSON::Variable.new('true').freeze

Public Instance methods

true is not blank:

  true.blank? # => false

true is not duplicable:

  true.duplicable? # => false
  true.dup         # => TypeError: can't dup TrueClass

[Validate]