Class: ActiveFedora::Type::Boolean

Inherits:
Value
  • Object
show all
Defined in:
lib/active_fedora/type/boolean.rb

Overview

:nodoc:

Constant Summary collapse

FALSE_VALUES =
[false, 0, '0', 'f', 'F', 'false', 'FALSE', 'off', 'OFF'].to_set

Instance Attribute Summary

Attributes inherited from Value

#limit, #precision, #scale

Instance Method Summary collapse

Methods inherited from Value

#==, #assert_valid_value, #binary?, #cast, #changed?, #changed_in_place?, #deserialize, #hash, #initialize, #map, #serialize, #type_cast_for_schema

Constructor Details

This class inherits a constructor from ActiveFedora::Type::Value

Instance Method Details

#typeObject



8
9
10
# File 'lib/active_fedora/type/boolean.rb', line 8

def type
  :boolean
end