Sha256: 87e52bb236d92428cc6f2880547de69802fc5b355e2a43f9b6dd42cc7748b508
Contents?: true
Size: 484 Bytes
Versions: 116
Compression:
Stored size: 484 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::BaseRecordDecorator' end end
Version data entries
116 entries across 116 versions & 1 rubygems