Class: InteractiveS3::Commands::InternalCommand::LocalList
- Defined in:
- lib/interactive_s3/commands/internal_command.rb
Instance Attribute Summary
Attributes inherited from Base
#arguments, #name, #s3, #state
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from InteractiveS3::Commands::Base
Instance Method Details
#execute ⇒ Object
36 37 38 |
# File 'lib/interactive_s3/commands/internal_command.rb', line 36 def execute puts Dir.entries('.').delete_if {|file| file =~ /^(.|..)$/ } end |