Sha256: 58934e7944b36f1e0d5cb0d67747fac1a5179387b57f78f89adf32547a457575

Contents?: true

Size: 395 Bytes

Versions: 9

Compression:

Stored size: 395 Bytes

Contents

require 'generators/helpers/file_helper'
module LolitaMenu
  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

9 entries across 9 versions & 1 rubygems

Version Path
lolita-menu-0.0.15 lib/generators/lolita_menu/assets_generator.rb
lolita-menu-0.0.14 lib/generators/lolita_menu/assets_generator.rb
lolita-menu-0.0.13 lib/generators/lolita_menu/assets_generator.rb
lolita-menu-0.0.12 lib/generators/lolita_menu/assets_generator.rb
lolita-menu-0.0.11 lib/generators/lolita_menu/assets_generator.rb
lolita-menu-0.0.10 lib/generators/lolita_menu/assets_generator.rb
lolita-menu-0.0.9 lib/generators/lolita_menu/assets_generator.rb
lolita-menu-0.0.8 lib/generators/lolita_menu/assets_generator.rb
lolita-menu-0.0.6 lib/generators/lolita_menu/assets_generator.rb