Method: CoffeeScriptParser#strip_dir
- Defined in:
- lib/tasks/coffeescript/coffeescript_parser.rb
#strip_dir(text) ⇒ Object
28 29 30 31 32 33 34 35 |
# File 'lib/tasks/coffeescript/coffeescript_parser.rb', line 28 def strip_dir(text) # Move to function/class w/ win32 related code if (text[0, @dir.length] == @dir) text = text[(@dir.length + 1)..-1] end end |