Sha256: 90d5193cf13291b126be53bfd2c78f51164a7afeec02846d5b7b0f5338c93b90
Contents?: true
Size: 478 Bytes
Versions: 58
Compression:
Stored size: 478 Bytes
Contents
# frozen_string_literal: true require 'generators/rails/decorator_generator' class PgDecoratorGenerator < Rails::Generators::DecoratorGenerator source_root File.expand_path('templates', __dir__) remove_hook_for :test_framework # :doc: def namespace nil end # :doc: def class_path [] end def create_module_file; end private def class_path_original @class_path.first end def parent_class_name 'PgEngine::BaseDecorator' end end
Version data entries
58 entries across 58 versions & 1 rubygems