lib/textbringer/commands.rb in textbringer-0.2.1 vs lib/textbringer/commands.rb in textbringer-0.2.2

- old
+ new

@@ -24,9 +24,10 @@ end def define_command(name, doc: "No documentation", &block) name = name.intern Commands.send(:define_method, name, &block) + Commands.send(:module_function, name) Commands.command_table[name] = Command.new(name, block, doc) name end module_function :define_command