Sha256: ef3b26cf680be281170807fcb8f1f5f7defe00f8e17426d47ce6dd949a8cd2a3
Contents?: true
Size: 213 Bytes
Versions: 1
Compression:
Stored size: 213 Bytes
Contents
module Hatsrank class Item attr_accessor :name, :descriptions def initialize @descriptions = [] end def effects descriptions.select { |x| x.value.match /^Effect/ } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hatsrank-0.0.1 | lib/hatsrank/item.rb |