Module: Vault

Extended by:
ActiveSupport::Autoload, ActiveSupport::Concern
Defined in:
lib/vault.rb,
lib/vault/dirty.rb,
lib/vault/finders.rb,
lib/vault/scoping.rb,
lib/vault/storage.rb,
lib/vault/version.rb,
lib/vault/properties.rb,
lib/vault/persistance.rb,
lib/vault/validations.rb,
lib/vault/associations.rb,
lib/vault/bulk_attributes.rb,
lib/vault/storage/yaml_store.rb,
lib/vault/attribute_accessors.rb,
lib/vault/storage/in_memory_store.rb

Defined Under Namespace

Modules: Associations, AttributeAccessors, BulkAttributes, Dirty, Finders, Persistance, Properties, Scoping, Storage, Validations, Version

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



50
51
52
# File 'lib/vault.rb', line 50

def ==(other)
  key == other.key
end

#keyObject Also known as: id



45
46
47
# File 'lib/vault.rb', line 45

def key
  send(self.class.key)
end