Sha256: 688cf11207a9c30656e51919bd8e5ec3b75f447b318188be591d9a7ff188163d

Contents?: true

Size: 206 Bytes

Versions: 1

Compression:

Stored size: 206 Bytes

Contents

module Gamefic

  class Requirement
    def initialize plot, name, &proc
      @plot = plot
      @name = name
      @proc = proc
    end
    def test actor
      return @proc.call actor
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gamefic-0.2.0 lib/gamefic/requirement.rb