Sha256: 8ac22814d041e0745c7a18d51be2de427b3869b3361c0501d00d9fbddeb4b846

Contents?: true

Size: 598 Bytes

Versions: 9

Compression:

Stored size: 598 Bytes

Contents

# frozen_string_literal: true

require_relative 'pg_engine/engine'
require_relative 'pg_engine/core_ext'
require_relative 'pg_engine/configuracion'
require_relative 'pg_engine/route_helpers'
require_relative 'pg_engine/utils/pg_logger'
require_relative 'pg_engine/utils/pdf_preview_generator'

require_relative '../app/helpers/pg_engine/print_helper'

module PgEngine
  class << self
    attr_writer :configuracion

    def configuracion
      @configuracion ||= Configuracion.new
    end

    def config
      configuracion
    end

    def configurar
      yield(configuracion)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pg_rails-7.0.8.pre.alpha.14 pg_engine/lib/pg_engine.rb
pg_rails-7.0.8.pre.alpha.13 pg_engine/lib/pg_engine.rb
pg_rails-7.0.8.pre.alpha.12 pg_engine/lib/pg_engine.rb
pg_rails-7.0.8.pre.alpha.11 pg_engine/lib/pg_engine.rb
pg_rails-7.0.8.pre.alpha.10 pg_engine/lib/pg_engine.rb
pg_rails-7.0.8.pre.alpha.9 pg_engine/lib/pg_engine.rb
pg_rails-7.0.8.pre.alpha.8 pg_engine/lib/pg_engine.rb
pg_rails-7.0.8.pre.alpha.7 pg_engine/lib/pg_engine.rb
pg_rails-7.0.8.pre.alpha.6 pg_engine/lib/pg_engine.rb