Sha256: 6c120dcf7a53798ce163f31cf073f89aaf80bd7a0c66d202fb80d781d398d719

Contents?: true

Size: 331 Bytes

Versions: 6

Compression:

Stored size: 331 Bytes

Contents

require 'generators/helpers/file_helper'
module Lolita
  module Generators
    class AssetsGenerator < Rails::Generators::Base
      include Lolita::Generators::FileHelper
      desc "Copy all from lolita public directory to project public directory."
      def copy_all
        copy_dir("public")
      end      
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lolita-3.1.3 lib/generators/lolita/assets_generator.rb
lolita-3.1.2 lib/generators/lolita/assets_generator.rb
lolita-3.1.1 lib/generators/lolita/assets_generator.rb
lolita-3.1.0 lib/generators/lolita/assets_generator.rb
lolita-3.0.7 lib/generators/lolita/assets_generator.rb
lolita-3.0.6 lib/generators/lolita/assets_generator.rb