Sha256: a87b0057b2a7d9f1d20da194a3a5b02df31544044f70f61d9969d349a5a2fdd9

Contents?: true

Size: 208 Bytes

Versions: 10

Compression:

Stored size: 208 Bytes

Contents

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
card-1.92.2 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.92.1 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.92 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.91 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.21.0 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.20.4 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.20.3 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.20.2 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.20.1 config/initializers/01_core_extensions/persistent_identifiers.rb
card-1.20.0 config/initializers/01_core_extensions/persistent_identifiers.rb