Sha256: cf1500b565fcc9efc3662277c6b9be277d65a0fe631dda8f165b4fd63a5a0c35

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

module Bento
  module Generators
    class BentoGenerator < Rails::Generators::NamedBase
      namespace "bento"
      source_root File.expand_path("../templates", __FILE__)

      desc "Generates a model with the given NAME (if one does not exist) with bento " <<
           "configuration plus a migration file."

      hook_for :orm
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bento-0.0.1 lib/generators/bento/bento_generator.rb