Sha256: 5b6e8899ecb7fb55fda85945df5cc5d4cda0df94920dd995cacfc02ced1d7729

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

module Interpret

  class SetupGenerator < Rails::Generators::Base
    source_root File.expand_path("../../../../public", __FILE__)
    desc "Copies needed css and js files into your app's public folders"

    def copy_css
      copy_file "stylesheets/interpret_style.css", "public/stylesheets/interpret_style.css"
    end

    def copy_js
      copy_file "javascripts/jquery.purr.js", "public/javascripts/jquery.purr.js"
    end

    def copy_images
      copy_file "stylesheets/folder.png", "public/stylesheets/folder.png"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
interpret-0.1.3 lib/generators/interpret/setup_generator.rb
interpret-0.1.2 lib/generators/interpret/setup_generator.rb