File: deck.rb

package info (click to toggle)
ruby-activerecord-import 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 840 kB
  • sloc: ruby: 4,698; makefile: 7
file content (8 lines) | stat: -rw-r--r-- 137 bytes parent folder | download
1
2
3
4
5
6
7
8
# frozen_string_literal: true

class Deck < ActiveRecord::Base
  has_many :cards
  def self.polymorphic_name
    "PlayingCard"
  end
end