15 lines
259 B
Ruby
15 lines
259 B
Ruby
|
class Mod_Util < Vrobot4::Module::Module
|
||
|
Vrobot4::Module.add_module_type self, "Utilities"
|
||
|
|
||
|
def initialize
|
||
|
super()
|
||
|
register :testf, "Test function."
|
||
|
end
|
||
|
|
||
|
def testf msg, argv
|
||
|
puts "test function run", msg, argv
|
||
|
end
|
||
|
end
|
||
|
|
||
|
## EOF
|