Sha256: 718b6046b17898595af867135019bd47438ccbba780322eae9db3bee0ee66c6a

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

module ActiveAdapter
  class Abstract
    attr_reader :adapter

    # Instance an real object from abstract object by adapter
    # @param implement_adapter_class [Class] The implement adapter class
    def initialize(implement_adapter_class)
      @adapter = implement_adapter_class.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_adapter-0.1.0 lib/active_adapter/abstract.rb