Sha256: a73e7c74b69cf1ade04ae8e285f7af4bff50b143d72f029be706eed68c1100bd

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

require 'rails/generators/named_base'

module Zetto
  module Generators
    class ZettoGenerator < Rails::Generators::NamedBase
      include Rails::Generators::ResourceHelpers

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

      desc "Create table or add need field if table exist"

      hook_for :orm

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zetto-2.2.0 lib/generators/zetto/zetto_generator.rb