Class: S3b::Runner
- Inherits:
-
Object
- Object
- S3b::Runner
- Defined in:
- lib/s3b.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(args) ⇒ Runner
constructor
A new instance of Runner.
Constructor Details
#initialize(args) ⇒ Runner
Returns a new instance of Runner.
6 7 8 9 10 |
# File 'lib/s3b.rb', line 6 def initialize(args) @args = args check_args execute end |
Instance Method Details
#execute ⇒ Object
12 13 14 15 16 |
# File 'lib/s3b.rb', line 12 def execute @args.each do |arg| puts "Argument passed: #{arg}" end end |