Sha256: cddc3974556c864779e355d98f29c358c545ed104e43c2480f74eb80447772f2

Contents?: true

Size: 204 Bytes

Versions: 14

Compression:

Stored size: 204 Bytes

Contents

module CoreExtensions
  # methods for codenames and numerical ids
  module PersistentIdentifier
    def card
      Card[self]
    end

    def cardname
      Card.quick_fetch(self).name
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
card-1.93.13 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.12 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.11 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.10 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.9 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.8 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.7 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.6 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.5 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.4 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.3 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.2 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.1 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.93.0 config/initializers/01_core_extensions/persistent_identifiers.rb