lib/grumlin/pop.rb in grumlin-0.10.1 vs lib/grumlin/pop.rb in grumlin-0.11.0
- old
+ new
@@ -7,10 +7,10 @@
%i[first last all mixed].each do |step|
define_method step do
name = "@#{step}"
return instance_variable_get(name) if instance_variable_defined?(name)
- instance_variable_set(name, TypedValue.new("Pop", step))
+ instance_variable_set(name, TypedValue.new(type: "Pop", value: step))
end
end
end
end
end