lib/acfs/resource/attributes.rb in acfs-1.5.0 vs lib/acfs/resource/attributes.rb in acfs-1.5.1

- old
+ new

@@ -242,12 +242,12 @@ def local_attributes @local_attributes ||= {} end - def define_attribute(name, type, opts = {}) + def define_attribute(name, type, **opts) name = name.to_s - attribute = type.new opts + attribute = type.new(**opts) local_attributes[name] = attribute define_attribute_method name send :define_method, name do