Sha256: 33a6e105a03117c449684f44894e354e54d22cb6bef1a19347061155c0162a2f

Contents?: true

Size: 317 Bytes

Versions: 8

Compression:

Stored size: 317 Bytes

Contents

module Gamefic::Itemizable
  attr_writer :itemized
  def itemized?
    if @itemized.nil?
      @itemized = Itemizable.default
    end
    @itemized
  end
  def self.default
    if @default.nil?
      @default = true
    end
    @default
  end
  def self.default=(bool)
    @default = bool
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gamefic-sdk-1.5.0 scripts/standard/modules/itemizable.plot.rb
gamefic-sdk-1.4.1 scripts/standard/modules/itemizable.plot.rb
gamefic-sdk-1.4.0 scripts/standard/modules/itemizable.plot.rb
gamefic-sdk-1.3.1 scripts/standard/modules/itemizable.plot.rb
gamefic-sdk-1.3.0 scripts/standard/modules/itemizable.plot.rb
gamefic-sdk-1.2.0 scripts/standard/modules/itemizable.plot.rb
gamefic-sdk-1.1.0 scripts/standard/modules/itemizable.plot.rb
gamefic-sdk-1.0.1 scripts/standard/modules/itemizable.plot.rb