Sha256: 2d23a23225c19d40068c0691b9337ae7129a19b1a678aaea2d2a67a8cebe5e97
Contents?: true
Size: 375 Bytes
Versions: 2
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true class KeyVortex class Adapter def initialize @limitations = {} end def limitation_for(field) @limitations[field.limitation.type] end def register_limitation(limitation) @limitations[limitation.type] = limitation end def self.symbol name.split(":").last.downcase.to_sym end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
key-vortex-0.2.5 | lib/key_vortex/adapter.rb |
key-vortex-0.2.4 | lib/key_vortex/adapter.rb |