Class: SourceFile
- Inherits:
-
Thor
- Object
- Thor
- SourceFile
- Includes:
- Thor::Actions
- Defined in:
- lib/anime-rails/source_file.rb
Instance Method Summary collapse
Instance Method Details
#fetch ⇒ Object
7 8 9 10 11 12 |
# File 'lib/anime-rails/source_file.rb', line 7 def fetch self.destination_root = "vendor/assets" remote = "https://github.com/juliangarnier/anime" get "#{remote}/raw/#{tag}/lib/anime.min.js", "javascripts/anime.min.js" get "#{remote}/raw/#{tag}/lib/anime.es.js", "javascripts/anime.es.js" end |