class Dry::Ability::Key
Constants
- COERC
Attributes
namespaced[R]
nsed[R]
Public Class Methods
new(key, nsfn)
click to toggle source
Calls superclass method
# File lib/dry/ability/key.rb, line 12 def initialize(key, nsfn) string = COERC[key] @nsed = nsfn[string].freeze super(string) end