Sha256: 3da2bc09b55c4e437ba2a6f5cb03dbe779be417832fb589fb852ada3de17e199

Contents?: true

Size: 466 Bytes

Versions: 12

Compression:

Stored size: 466 Bytes

Contents

module EnjuBookmark
  module Generators
    class ViewsGenerator < Rails::Generators::Base
      source_root File.expand_path('../../../../app/views', __FILE__)

      def copy_files
        directories = %w(
          bookmark_stat_has_manifestations
          bookmark_stats
          bookmarks
          manifestations
          tags
        )

        directories.each do |dir|
          directory dir, "app/views/#{dir}"
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
enju_bookmark-0.1.2.pre10 lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.2.pre9 lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.2.pre8 lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.2.pre7 lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.2.pre6 lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.2.pre5 lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.2.pre4 lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.2.pre3 lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.2.pre2 lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.2.pre lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.1 lib/generators/enju_bookmark/views_generator.rb
enju_bookmark-0.1.0.pre lib/generators/enju_bookmark/views_generator.rb