Class: InteractiveS3::Commands::InternalCommand::LocalList

Inherits:
Base
  • Object
show all
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

#initialize

Constructor Details

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

Instance Method Details

#executeObject



36
37
38
# File 'lib/interactive_s3/commands/internal_command.rb', line 36

def execute
  puts Dir.entries('.').delete_if {|file| file =~ /^(.|..)$/ }
end