class HrrRbSsh::Connection::RequestHandler
Public Class Methods
new(&block)
click to toggle source
# File lib/hrr_rb_ssh/connection/request_handler.rb, line 7 def initialize &block @proc = block end
Public Instance Methods
run(context)
click to toggle source
# File lib/hrr_rb_ssh/connection/request_handler.rb, line 11 def run context @proc.call context end