test/lays_test.rb in lays-0.0.4 vs test/lays_test.rb in lays-0.0.5
- old
+ new
@@ -1,9 +1,9 @@
require_relative "./test_helper"
Frame = Struct.new(:content) do
include Lays
- def initialize(**attrs)
+ def initialize(attrs={})
attrs.each do |attr, val|
self.send("#{attr}=", val)
end
end
end