Class: Downloads::Commands::Ls

Inherits:
Base
  • Object
show all
Defined in:
lib/downloads/commands/ls.rb

Instance Attribute Summary

Attributes inherited from Base

#configuration, #local, #options, #remote

Instance Method Summary collapse

Methods inherited from Base

command_name, #configure, inherited, #initialize, usage, #usage, #valid?

Constructor Details

This class inherits a constructor from Downloads::Commands::Base

Instance Method Details

#runObject



4
5
6
# File 'lib/downloads/commands/ls.rb', line 4

def run
  puts remote.filenames
end