lib/scripper/sequel/dataset_stripper.rb in scripper-0.1.0 vs lib/scripper/sequel/dataset_stripper.rb in scripper-0.1.1

- old
+ new

@@ -1,14 +1,14 @@ -# frozen_string_literal: true - -module Scripper - module Sequel - module DatasetStripper - class << self - def strip(hsh) - struct_klass = Struct.new(*hsh.keys) - struct_klass.new(*hsh.transform_values { |v| ValueConverter.convert_value(v) }.values) - end - end - end - end -end +# frozen_string_literal: true + +module Scripper + module Sequel + module DatasetStripper + class << self + def strip(hsh) + struct_klass = Struct.new(*hsh.keys) + struct_klass.new(*hsh.transform_values { |v| ValueConverter.convert_value(v) }.values) + end + end + end + end +end