lib/soupcms/api/resolver/data_resolver.rb
# key and its resolvers are cached
key and its resolvers are cached
key and its resolvers are cached
def find_resolver(key)
        if @@key_resolvers[key].nil?
          @@key_resolvers[key] = self.class.resolvers.collect { |kv| kv[:resolver] if key.match(kv[:key]) }.compact
        end
        @@key_resolvers[key]
      end
def find_resolver ( key ) if @@key_resolvers [ key ] . nil? @@key_resolvers [ key ] = self . class . resolvers . collect { | kv | kv [ :resolver ] if key . match ( kv [ :key ] ) } . compact end @@key_resolvers [ key ] end
key and its resolvers are cached
key and its resolvers are cached
key
<not_specific>