Sha256: 49699abae3c892d12587ab01e259772677d4dcfbc6279a6e559aefd49971437c
Contents?: true
Size: 300 Bytes
Versions: 5
Compression:
Stored size: 300 Bytes
Contents
module RailsClafer class Card class << self def from_ar_assoc(assoc) if assoc.collection? new 0, "*" else new 1, 1 end end end attr_accessor :min, :max def initialize(min=1,max=1) @min, @max = min, max end end end
Version data entries
5 entries across 5 versions & 1 rubygems