Class: Sunrise::Locales::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/sunrise/locales/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_cssObject



15
16
17
# File 'lib/generators/sunrise/locales/install_generator.rb', line 15

def copy_css
  copy_file('codemirror.css', 'public/stylesheets/codemirror.css')
end

#copy_jsObject



10
11
12
13
# File 'lib/generators/sunrise/locales/install_generator.rb', line 10

def copy_js
  copy_file('codemirror.js', 'public/javascripts/codemirror.js')
  copy_file('yaml.js', 'public/javascripts/yaml.js')
end