Sha256: 057da053bc567273f091b64554faab867d68edfa7d1af533e66447f0729225ff

Contents?: true

Size: 182 Bytes

Versions: 3

Compression:

Stored size: 182 Bytes

Contents

module BERTRPC
  class Mod
    def initialize(svc, mod)
      @svc = svc
      @mod = mod
    end

    def method_missing(cmd, *args)
      Fun.new(@svc, @mod, cmd)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mojombo-bertrpc-0.1.0 lib/bertrpc/mod.rb
mojombo-bertrpc-0.1.1 lib/bertrpc/mod.rb
mojombo-bertrpc-0.1.2 lib/bertrpc/mod.rb