lib/grumlin/t.rb in grumlin-0.10.1 vs lib/grumlin/t.rb in grumlin-0.11.0
- old
+ new
@@ -7,10 +7,10 @@
%i[id label].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("T", step))
+ instance_variable_set(name, TypedValue.new(type: "T", value: step))
end
end
end
end
end