Document the responsibility of the class
Heading¶ ↑
Use headings to break up descriptions
Embody parameters
or options
in Teletype Text tags. You can also use bold or italics but must use HTML tags for multiple words, like this and like this
.
Public Class methods
new
(opts)
Show
Hide
Source
def initialize(opts)
# self.Connect(opts)
return @rpc = ClientRPC::Connect.new(opts)
puts "Connecting to #{@opts}"
end
Public Instance methods
ping
()
Show
Hide
Source
def ping
# @response = "pavsan"
@rpc.ping_node
@pingres = @rpc.instance_variable_get(:@pingres)
end
request
(name, params = nil)
Show
Hide
Source
def request(name, params = nil)
return @rpc.request(name, params)
end