Sha256: 8a7f076746f0a1ba4a762f9728dfa54075414cc21d3d9a6eff3429d437551fab
Contents?: true
Size: 223 Bytes
Versions: 2
Compression:
Stored size: 223 Bytes
Contents
module Kosher class Seller < Structure key :id key :kosher, Boolean, :default => true key :name key :rating, Float # Returns whether the item is kosher. def kosher? kosher end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kosher-0.10.0 | lib/kosher/seller.rb |
kosher-0.9.1 | lib/kosher/seller.rb |