Sha256: 289ac15c9094d4afaccba36efae132355138bc249fff3f25437089fbc5f78e93

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 Bytes

Contents

require 'rails/generators/named_base'

module BucketMaker
  module Generators
    class BucketMakerGenerator < Rails::Generators::NamedBase

      namespace 'bucket_maker'
      source_root File.expand_path("../../templates", __FILE__)

      desc "Generates the model with a given NAME (if it doesn't exist) and adds the hook for method calls"

      hook_for :orm
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bucket_maker-0.0.1 lib/generators/bucket_maker/bucket_maker_generator.rb