Skip to content
Browse files

Show ruby warnings

  • Loading branch information...
1 parent 578814d commit 9421982a77e5a087fea738dd62c63ed9a660a5f4 @iain committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/controller.rb
  2. +1 −1 playground
View
2 lib/controller.rb
@@ -41,7 +41,7 @@ def on_tick
def apply
keys.each do |key|
callback = callbacks[key]
- instance_eval &callback if callback
+ instance_eval(&callback) if callback
end
on_tick
end
View
2 playground
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby -I lib
+#!/usr/bin/env ruby -I lib -w
require 'environment'

0 comments on commit 9421982

Please sign in to comment.
Something went wrong with that request. Please try again.