Class: GithubSshKeysFor::PrintKeys

Inherits:
Object
  • Object
show all
Defined in:
lib/github_ssh_keys_for/print_keys.rb

Instance Method Summary collapse

Constructor Details

#initialize(keys) ⇒ PrintKeys

Returns a new instance of PrintKeys.



3
4
5
# File 'lib/github_ssh_keys_for/print_keys.rb', line 3

def initialize(keys)
  @keys = keys
end

Instance Method Details

#executeObject



7
8
9
# File 'lib/github_ssh_keys_for/print_keys.rb', line 7

def execute
  puts keys.join("\n")
end