class HrrRbSsh::Compat::OpenSSH::AuthorizedKeys
Public Class Methods
new(data_str)
click to toggle source
# File lib/hrr_rb_ssh/compat/openssh/authorized_keys.rb, line 8 def initialize data_str @public_keys = data_str.each_line.map{ |line| PublicKey.new line } end
Public Instance Methods
each() { |public_key| ... }
click to toggle source
# File lib/hrr_rb_ssh/compat/openssh/authorized_keys.rb, line 14 def each @public_keys.each{ |public_key| yield public_key } end