Sha256: 19af22437e81ca33deb415fb5502fb5cfde88ab5bf55bbd8724222a777cefc46

Contents?: true

Size: 291 Bytes

Versions: 14

Compression:

Stored size: 291 Bytes

Contents

module Gamefic
  
  class Script::Text < Script::Base
    attr_reader :path, :absolute_path
    def initialize path, code, absolute_path = nil
      @path = path
      @code = code
      @absolute_path = absolute_path || path
    end
    def read
      @code
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gamefic-1.7.0 lib/gamefic/script/text.rb
gamefic-1.6.0 lib/gamefic/script/text.rb
gamefic-1.5.1 lib/gamefic/script/text.rb
gamefic-1.5.0 lib/gamefic/script/text.rb
gamefic-1.4.1 lib/gamefic/script/text.rb
gamefic-1.4.0 lib/gamefic/script/text.rb
gamefic-1.3.2 lib/gamefic/script/text.rb
gamefic-1.3.1 lib/gamefic/script/text.rb
gamefic-1.3.0 lib/gamefic/script/text.rb
gamefic-1.2.0 lib/gamefic/script/text.rb
gamefic-1.1.0 lib/gamefic/script/text.rb
gamefic-1.0.0 lib/gamefic/script/text.rb
gamefic-0.6.1 lib/gamefic/script/text.rb
gamefic-0.6.0 lib/gamefic/script/text.rb