From 419f357b3b3b332608be8b829f029b30f9eb67f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Bo=CC=88ttger?= Date: Fri, 22 Feb 2013 22:09:34 +1300 Subject: [PATCH] it's more a question up to now --- lib/aasm/instance_base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/aasm/instance_base.rb b/lib/aasm/instance_base.rb index 24d7e0e..f3db298 100644 --- a/lib/aasm/instance_base.rb +++ b/lib/aasm/instance_base.rb @@ -39,7 +39,7 @@ module AASM # filters the results of events_for_current_state so that only those that # are really currently possible (given transition guards) are shown. - # TODO: what about events.permissible ? + # QUESTION: what about events.permissible ? def permissible_events events.select{ |e| @instance.send(("may_" + e.to_s + "?").to_sym) } end