lib/textbringer/commands.rb in textbringer-0.1.7 vs lib/textbringer/commands.rb in textbringer-0.1.8
- old
+ new
@@ -14,9 +14,10 @@
end
def define_command(name, &block)
Commands.send(:define_method, name, &block)
@@command_list << name if !@@command_list.include?(name)
+ name
end
module_function :define_command
def undefine_command(name)
if @@command_list.include?(name)