Sha256: 4902a7fdb1f8c5d2fe336c08fb0e29118d6e901ed22e8c9821ae6e6c0e7dde41

Contents?: true

Size: 263 Bytes

Versions: 217

Compression:

Stored size: 263 Bytes

Contents

require 'rails/generators'
require 'rails/generators/rails/model/model_generator'

module Rails
  module Generators
    class ModelGenerator
      hook_for :avo_resource, type: :boolean, default: true unless ARGV.include?("--skip-avo-resource")
    end
  end
end

Version data entries

217 entries across 217 versions & 1 rubygems

Version Path
avo-3.14.3 lib/generators/model_generator.rb
avo-3.14.2 lib/generators/model_generator.rb
avo-3.14.1 lib/generators/model_generator.rb
avo-3.14.0 lib/generators/model_generator.rb
avo-3.13.7 lib/generators/model_generator.rb
avo-3.13.6 lib/generators/model_generator.rb
avo-3.13.5 lib/generators/model_generator.rb
avo-3.13.4 lib/generators/model_generator.rb
avo-3.13.3 lib/generators/model_generator.rb
avo-3.13.2 lib/generators/model_generator.rb
avo-3.13.1 lib/generators/model_generator.rb
avo-3.13.0 lib/generators/model_generator.rb
avo-2.53.0 lib/generators/model_generator.rb
avo-3.12.0 lib/generators/model_generator.rb
avo-3.11.10 lib/generators/model_generator.rb
avo-3.11.9 lib/generators/model_generator.rb
avo-3.11.8 lib/generators/model_generator.rb
avo-3.11.7 lib/generators/model_generator.rb
avo-3.11.6 lib/generators/model_generator.rb
avo-3.11.5 lib/generators/model_generator.rb