Sha256: f53ab34ee2a4a11903facd334827a8148ccd738f6b07796ba02f912417f9fde8

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

module Chive
  class ViewsGenerator < Rails::Generators::Base
    source_root Chive::Engine.root
    def generate_views
      directory File.join('app', 'views', 'chive'), File.join(Rails.root, 'app', 'views', 'chive')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chive-0.0.3 lib/generators/chive/views_generator.rb
chive-0.0.2 lib/generators/chive/views_generator.rb
chive-0.0.1 lib/generators/chive/views_generator.rb