Class: InteractiveS3::Commands::InternalCommand::Pwd
- 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
42 43 44 |
# File 'lib/interactive_s3/commands/internal_command.rb', line 42 def execute puts s3.root? ? '/' : s3.current_path end |