Sha256: 996698babb32b57e57482377e7ad54ed35e4bc1a21571c50795559f199d34fb5

Contents?: true

Size: 258 Bytes

Versions: 5

Compression:

Stored size: 258 Bytes

Contents

module Groupify
  module Mongoid
    class ModelGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      def copy_group_model_file
        copy_file "group.rb", "app/models/group.rb"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
groupify-0.9.0 lib/generators/groupify/mongoid/model/model_generator.rb
groupify-0.8.0 lib/generators/groupify/mongoid/model/model_generator.rb
groupify-0.7.2 lib/generators/groupify/mongoid/model/model_generator.rb
groupify-0.7.1 lib/generators/groupify/mongoid/model/model_generator.rb
groupify-0.7.0 lib/generators/groupify/mongoid/model/model_generator.rb