Sha256: 00886303eb1d6bc1fa9fd9a34f545f81e1279599eab0765cb2631ed8089a5146

Contents?: true

Size: 104 Bytes

Versions: 3

Compression:

Stored size: 104 Bytes

Contents

class Clothing < Item
  def worn?
    self.parent.kind_of?(Character) and self.attached?
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gamefic-standard-2.2.0 lib/gamefic-standard/clothing/entities/clothing.rb
gamefic-standard-2.1.0 lib/gamefic-standard/clothing/entities/clothing.rb
gamefic-standard-2.0.0 lib/gamefic-standard/clothing/entities/clothing.rb