Sha256: e2b8b1ef697dbbdee62cfa321c260308db2c1b32d8b1da068d465d63940a4b2c

Contents?: true

Size: 342 Bytes

Versions: 11

Compression:

Stored size: 342 Bytes

Contents

require "rails/generators"

module Generators
  module Avo
    class PartialsGenerator < ::Rails::Generators::Base
      source_root File.expand_path("templates", __dir__)
      namespace "avo:partials"

      def generate
        directory "partials", Rails.root.join("app", "views", "vendor", "avo", "partials")
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
avo-1.0.5 lib/generators/avo/partials_generator.rb
avo-1.0.4 lib/generators/avo/partials_generator.rb
avo-1.0.2 lib/generators/avo/partials_generator.rb
avo-1.0.1 lib/generators/avo/partials_generator.rb
avo-1.0.0 lib/generators/avo/partials_generator.rb
avo-0.5.0.beta15 lib/generators/avo/partials_generator.rb
avo-0.5.0.beta14 lib/generators/avo/partials_generator.rb
avo-0.5.0.beta13 lib/generators/avo/partials_generator.rb
avo-0.5.0.beta12 lib/generators/avo/partials_generator.rb
avo-0.5.0.beta11 lib/generators/avo/partials_generator.rb
avo-0.5.0.beta10 lib/generators/avo/partials_generator.rb