Sha256: dbf3cb2739bd45d0a5f8902350956d7ed677cd023536ba50389836496836be90

Contents?: true

Size: 356 Bytes

Versions: 17

Compression:

Stored size: 356 Bytes

Contents

# coding: utf-8

require 'rails/generators'
require 'rails/generators/generated_attribute'

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

      def copy_views
        directory "redditor", "app/views/redditor"
      end

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
redditor-0.1.17 lib/generators/redditor/views/views_generator.rb
redditor-0.1.16 lib/generators/redditor/views/views_generator.rb
redditor-0.1.15 lib/generators/redditor/views/views_generator.rb
redditor-0.1.14 lib/generators/redditor/views/views_generator.rb
redditor-0.1.12 lib/generators/redditor/views/views_generator.rb
redditor-0.1.11 lib/generators/redditor/views/views_generator.rb
redditor-0.1.10 lib/generators/redditor/views/views_generator.rb
redditor-0.1.9 lib/generators/redditor/views/views_generator.rb
redditor-0.1.8 lib/generators/redditor/views/views_generator.rb
redditor-0.1.7 lib/generators/redditor/views/views_generator.rb
redditor-0.1.6 lib/generators/redditor/views/views_generator.rb
redditor-0.1.5 lib/generators/redditor/views/views_generator.rb
redditor-0.1.4 lib/generators/redditor/views/views_generator.rb
redditor-0.1.3 lib/generators/redditor/views/views_generator.rb
redditor-0.1.2 lib/generators/redditor/views/views_generator.rb
redditor-0.1.1 lib/generators/redditor/views/views_generator.rb
redditor-0.1.0 lib/generators/redditor/views/views_generator.rb