Sha256: 982d64cd5b93c825b4047b7ac9ad77107be4f0560df8e1fb7730fd25a3fd1cb7

Contents?: true

Size: 125 Bytes

Versions: 9

Compression:

Stored size: 125 Bytes

Contents

# frozen_string_literal: false

class EnumCaster < Sinclair::Caster
  cast_with(:hash, :to_h)
  cast_with(:array, :to_a)
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sinclair-2.1.1 spec/support/models/enum_caster.rb
sinclair-2.1.0 spec/support/models/enum_caster.rb
sinclair-2.0.1 spec/support/models/enum_caster.rb
sinclair-2.0.0 spec/support/models/enum_caster.rb
sinclair-1.16.3 spec/support/models/enum_caster.rb
sinclair-1.16.2 spec/support/models/enum_caster.rb
sinclair-1.16.1 spec/support/models/enum_caster.rb
sinclair-1.16.0 spec/support/models/enum_caster.rb
sinclair-1.15.0 spec/support/models/enum_caster.rb