Sha256: 995128f8512fcec51fb451bb1a49b4f7c5addcdf35652fab5c82383567ee78a3

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

require "gogo_driver/version"
require "gogo_driver/entity"

module GogoDriver
  def init
    @entity = Entity.new
  end

  def method_missing(method, *args, &block)
    @entity.respond_to?(method) ? @entity.send(method, *args, &block) : super
  rescue Errno::ECONNREFUSED
    @entity = Entity.new
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gogo_driver-0.0.2 lib/gogo_driver.rb