Module: TypeScript::Src
- Defined in:
- lib/typescript-src.rb
Class Method Summary collapse
Class Method Details
.js_content ⇒ Object
16 17 18 |
# File 'lib/typescript-src.rb', line 16 def js_content File.read(js_path) end |
.js_path ⇒ Object
12 13 14 |
# File 'lib/typescript-src.rb', line 12 def js_path root + "/lib/support/typescript.js" end |
.root ⇒ Object
4 5 6 |
# File 'lib/typescript-src.rb', line 4 def root File.("..", File.dirname(__FILE__)) end |
.tsc_path ⇒ Object
8 9 10 |
# File 'lib/typescript-src.rb', line 8 def tsc_path root + "/lib/support/tsc" end |