lib/eye/trigger/transition.rb in eye-0.8.celluloid15 vs lib/eye/trigger/transition.rb in eye-0.8.pre
- old
+ new
@@ -2,10 +2,10 @@
# trigger :transition, :to => :up, :from => :starting, :do => ->{ ... }
param :do, [Proc, Symbol]
- def check(_trans)
+ def check(trans)
exec_proc :do
end
end