Class: GithubSshKeysFor::PrintKeys
- Inherits:
-
Object
- Object
- GithubSshKeysFor::PrintKeys
- Defined in:
- lib/github_ssh_keys_for/print_keys.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(keys) ⇒ PrintKeys
constructor
A new instance of PrintKeys.
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
#execute ⇒ Object
7 8 9 |
# File 'lib/github_ssh_keys_for/print_keys.rb', line 7 def execute puts keys.join("\n") end |