Sha256: 03f514cb43ff0626506efc6d2c3a266760142402f66011ff1ae701f56ba9b55d

Contents?: true

Size: 484 Bytes

Versions: 2

Compression:

Stored size: 484 Bytes

Contents

module Padrino
  module Generators
    module Components
      module Scripts

        module MootoolsGen
          def setup_script
            copy_file('templates/scripts/mootools-core.js', destination_root("/public/javascripts/mootools-core.js"))
            create_file(destination_root('/public/javascripts/application.js'), "// Put your application scripts here")
          end
        end # MootoolsGen
      end # Scripts
    end # Components
  end # Generators
end # Padrino

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
padrino-gen-0.9.9 lib/padrino-gen/generators/components/scripts/mootools_gen.rb
padrino-gen-0.9.7 lib/padrino-gen/generators/components/scripts/mootools_gen.rb