Sha256: 25c43db976cfe2ffffd3d989d79883af9bdaa1a061db8c7479c2b894c3c9c3d8

Contents?: true

Size: 445 Bytes

Versions: 53

Compression:

Stored size: 445 Bytes

Contents

require 'rubypitaya/core/instance_holder'

module RubyPitaya

  class HttpBase

    class_attribute :handler_objects, default: nil, instance_reader: false, instance_writer: false, instance_accessor: false, instance_predicate: false

    attr_reader :objects

    def initialize
      @objects = self.class.objects
    end

    def self.objects
      self.handler_objects ||= InstanceHolder.new
      return self.handler_objects
    end
  end
end

Version data entries

53 entries across 49 versions & 1 rubygems

Version Path
rubypitaya-3.19.6 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.19.5 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.19.4 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.19.3 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.19.2 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.19.1 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.19.0 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.18.0 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.17.2 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.17.1 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.17.0 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.16.0 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.15.3 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.15.2 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.15.1 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.15.0 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.14.0 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.13.1 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.13.0 ./lib/rubypitaya/core/http_base.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/core/http_base.rb