Sha256: 967ecdd120ab06fef6ac08a26ca3141e99626ec2e2e2f49047c44e071321a32e

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

require 'generators/helpers/file_helper'
module LolitaEditableList
  module Generators
    class AssetsGenerator < Rails::Generators::Base
      include Lolita::Generators::FileHelper
      desc "Copy all from public directory to project public directory."
      def copy_all
        root=File.expand_path("../../../../",__FILE__)
        copy_dir("public",:root=>root)
      end      
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lolita-editable-list-0.1.2 lib/generators/lolita_editable_list/assets_generator.rb