Sha256: afe9926245da311b2763c026922a92f31f8a982aa407a5aa644aa9bd5b2bb818

Contents?: true

Size: 381 Bytes

Versions: 22

Compression:

Stored size: 381 Bytes

Contents

module RubyGallery
  module Generators
    class RubyGalleryGenerator < Rails::Generators::NamedBase
      include Rails::Generators::ResourceHelpers
      
      namespace "ruby_gallery"
      
      source_root File.expand_path("../templates", __FILE__)
      
      desc "Generates RubyGallery attributes for a model given its NAME."
      
      hook_for :orm
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
ruby_gallery-0.1.2 lib/generators/ruby_gallery/ruby_gallery_generator.rb
ruby_gallery-0.1.1 lib/generators/ruby_gallery/ruby_gallery_generator.rb