Files
metasploit-gs/lib/rkelly/runtime/ruby_function.rb
T

14 lines
198 B
Ruby
Raw Normal View History

module RKelly
class Runtime
class RubyFunction
def initialize(&block)
@code = block
end
def call(chain, *args)
@code.call(*args)
end
end
end
end