Class: S3b::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/s3b.rb

Instance Method Summary collapse

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

#executeObject



12
13
14
15
16
# File 'lib/s3b.rb', line 12

def execute
  @args.each do |arg|
    puts "Argument passed: #{arg}"
  end
end