Sha256: be5b576150575be3519828363c1a0be0637724b07fdd08f0e823124372d2ed77

Contents?: true

Size: 403 Bytes

Versions: 116

Compression:

Stored size: 403 Bytes

Contents

module PgEngine
  class BaseDecorator < PgEngine::BaseRecordDecorator
    class Deprecator
      def deprecation_warning(_deprecated_method_name, _message, _caller_backtrace = nil)
        Kernel.warn 'DEPRECACION WARNING: PgEngine::BaseDecorator is deprecated, mejor usá BaseRecordDecorator'
      end
    end

    class << self
      deprecate :decorate, deprecator: Deprecator.new
    end
  end
end

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
pg_rails-7.6.21.pre.4 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.21.pre.3 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.21.pre.2 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.21.pre.1 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.20 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.19 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.18 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.17 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.16 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.15 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.14 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.13 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.12 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.11 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.10 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.9 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.8 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.7 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.6 pg_engine/app/decorators/pg_engine/base_decorator.rb
pg_rails-7.6.5 pg_engine/app/decorators/pg_engine/base_decorator.rb