Sha256: 2f5b8da1ec6ee45cd715570cfb596f20956a5491ca80dce718ce939076ac4576

Contents?: true

Size: 343 Bytes

Versions: 5

Compression:

Stored size: 343 Bytes

Contents

module TypeScript
  module Src
    class << self
      def root
        File.expand_path("..", File.dirname(__FILE__))
      end

      def tsc_path
        root + "/lib/support/tsc"
      end

      def js_path
        root + "/lib/support/typescript.js"
      end

      def js_content
        File.read(js_path)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typescript-src-1.0.0.0 lib/typescript-src.rb
typescript-src-0.9.0.1 lib/typescript-src.rb
typescript-src-0.9.0 lib/typescript-src.rb
typescript-src-0.8.3 lib/typescript-src.rb
typescript-src-0.8.1.1 lib/typescript-src.rb