Class: Stitch::Source
- Inherits:
-
Object
- Object
- Stitch::Source
- Defined in:
- lib/gumdrop/stitch_support.rb
Instance Method Summary collapse
-
#name ⇒ Object
Patch for gumdrop style filenames.
Instance Method Details
#name ⇒ Object
Patch for gumdrop style filenames
6 7 8 9 10 |
# File 'lib/gumdrop/stitch_support.rb', line 6 def name name = path.relative_path_from(root) name = name.dirname + name.basename(".*") name.to_s.gsub(".js", '') end |