Sha256: e0f95823c62272aae81b1bf1a205714cb3c9478e68d43dfb9bbbf0cf17825db8

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

# frozen_string_literal: true

require 'drb'

module UU
  module Remotable
    def self.included(mod)
      mod.include(DRb::DRbUndumped) if server
    end

    attr_accessor :server
    module_function :server, :server=
    self.server = false
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
uu-0.2.2 lib/uu/remotable.rb
uu-0.2.1 lib/uu/remotable.rb
uu-0.2.0 lib/uu/remotable.rb
uu-0.1.3 lib/uu/remotable.rb