Sha256: 0fb6570f24785984b6b47a2f3afac38ed1091a519122541df85535e9d0b400f9

Contents?: true

Size: 174 Bytes

Versions: 2

Compression:

Stored size: 174 Bytes

Contents

# frozen_string_literal: true

module HashSettable
  extend Sinclair::Settable::ClassMethods
  include Sinclair::Settable

  read_with do |key|
    self::HASH[key]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinclair-2.1.1 spec/support/models/hash_settable.rb
sinclair-2.1.0 spec/support/models/hash_settable.rb