Sha256: 36af7095b1399e12ddbc7677da9a4d67a6bcd749c700dac85169f3bb2ce0fbc8
Contents?: true
Size: 454 Bytes
Versions: 1
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true module Scripper module Sequel class << self def strip(object, **args) if object.is_a?(Hash) strip_dataset(object) else strip_model(object, **args) end end private def strip_model(*args) ModelStripper.strip(*args) end def strip_dataset(ds) DatasetStripper.strip(ds) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scripper-0.1.0 | lib/scripper/sequel.rb |