lib/sym/app/private_key/detector.rb
def read!
          KeySourceCheck::CHECKS.each do |source_check|
            next unless result = source_check.detect(self) rescue nil
            if key_ = normalize_key(result.key)
              key_source_ = result.to_s
              return key_, key_source_
            end
          end
          nil
        end
# Returns the first valid 32-bit key obtained by running the above
# procs on a given string.
Returns the first valid 32-bit key obtained by running the above
procs on a given string.
Returns the first valid 32 - bit key obtained by running the above procs on a given string .
def read!
          KeySourceCheck::CHECKS.each do |source_check|
            next unless result = source_check.detect(self) rescue nil
            if key_ = normalize_key(result.key)
              key_source_ = result.to_s
              return key_, key_source_
            end
          end
          nil
        end
def read! KeySourceCheck :: CHECKS . each do | source_check | next unless result = source_check . detect ( self ) rescue nil if key_ = normalize_key ( result . key ) key_source_ = result . to_s return key_ , key_source_ end end nil end
Returns the first valid 32-bit key obtained by running the above
procs on a given string.
Returns the first valid 32 - bit key obtained by running the above procs on a given string .