lib/active_set/base_adapter.rb in activeset-0.1.0 vs lib/active_set/base_adapter.rb in activeset-0.2.0

- old
+ new

@@ -1,8 +1,10 @@ # frozen_string_literal: true +require_relative './structure_path' + class BaseAdapter - def initialize(key, value) - @key = key + def initialize(keypath, value) + @structure_path = StructurePath.new(keypath) @value = value end end