Sha256: 48c7b4b7414262386b6c1ff939b8fe247d53bba75cae977f8a09b96efb9b08be

Contents?: true

Size: 234 Bytes

Versions: 19

Compression:

Stored size: 234 Bytes

Contents

class ViewsGenerator < Rails::Generators::Base
  source_root File.expand_path('templates', __dir__)
  namespace 'avo:views'

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
avo-0.5.0.beta1 lib/generators/avo/views_generator.rb
avo-0.4.10 lib/generators/avo/views_generator.rb
avo-0.4.9 lib/generators/avo/views_generator.rb
avo-0.4.8 lib/generators/avo/views_generator.rb
avo-0.4.7 lib/generators/avo/views_generator.rb
avo-0.4.6 lib/generators/avo/views_generator.rb
avo-0.4.5 lib/generators/avo/views_generator.rb
avo-0.4.4 lib/generators/avo/views_generator.rb
avo-0.4.3 lib/generators/avo/views_generator.rb
avo-0.4.2 lib/generators/avo/views_generator.rb
avo-0.4.1 lib/generators/avo/views_generator.rb
avo-0.3.2 lib/generators/avo/views_generator.rb
avo-0.3.1 lib/generators/avo/views_generator.rb
avo-0.2.5 lib/generators/avo/views_generator.rb
avo-0.2.4 lib/generators/avo/views_generator.rb
avo-0.2.3 lib/generators/avo/views_generator.rb
avo-0.2.2 lib/generators/avo/views_generator.rb
avo-0.2.1 lib/generators/avo/views_generator.rb
avo-0.2.0 lib/generators/avo/views_generator.rb