Method: Equity::Controller::Key#paths
- Defined in:
- lib/equity/controller/key.rb
#paths ⇒ Object
Returns an array of paths to all files associated with this key.
67 68 69 70 71 72 73 74 |
# File 'lib/equity/controller/key.rb', line 67 def paths return [] if @path.nil? if @dsa.private? [@path, @path + ".pub"] else [@path + ".pub"] end end |