lib/angelo/server.rb in angelo-0.1.5 vs lib/angelo/server.rb in angelo-0.1.6
- old
+ new
@@ -23,14 +23,14 @@
dispatch! meth, connection, request
end
# RubyProf.pause
end
- def self.define_action name, &action
+ def self.define_task name, &action
define_method name, &action
end
- def self.remove_action name
+ def self.remove_task name
remove_method name
end
private