lib/ducksboard/box.rb in ducksboard-0.1.5 vs lib/ducksboard/box.rb in ducksboard-0.1.6

- old
+ new

@@ -1,8 +1,8 @@ module Ducksboard class Box < Widget def valid? - @data[:value].is_a?(Integer) + @data[:value].kind_of?(Numeric) end end end