Sha256: db633ac8204f02fa1e3623e3b047e304c61bab6502c1a61d88a11c031fe19916

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

module Padrino
  module Generators
    module Components
      module Scripts

        module RightjsGen
          def setup_script
            copy_file('templates/scripts/right.js', destination_root("/public/javascripts/right.js"))
            create_file(destination_root('/public/javascripts/application.js'), "// Put your application scripts here")
          end
        end # RightjsGen
      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/rightjs_gen.rb
padrino-gen-0.9.7 lib/padrino-gen/generators/components/scripts/rightjs_gen.rb