Sha256: 7aaa4e01d8bb631809917fbc750c53eb059dc30d8adfd5f5c7b1e9a3e1a82f74
Contents?: true
Size: 344 Bytes
Versions: 180
Compression:
Stored size: 344 Bytes
Contents
module Hapyrus class Proxy attr_accessor :command_class def run_command(method, *args) args.flatten! if args.size > 0 @command_class.new.send(method, *args) else @command_class.new.send(method) end end def method_missing(method, *args) run_command(method, args) end end end
Version data entries
180 entries across 180 versions & 2 rubygems