Sha256: 4b62f990d5d634607369d64e609fe4da541f511a62adc6cf39c87b3441679fb7

Contents?: true

Size: 203 Bytes

Versions: 13

Compression:

Stored size: 203 Bytes

Contents

module Nasty
  class CompositeCommand
    def initialize(first, last)
      @first = first
      @last = last
    end

    def run(*args)
      @first.run(*args)
      @last.run(*args)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
nasty-0.0.1388168019 lib/nasty/composite_command.rb
nasty-0.0.1388167257 lib/nasty/composite_command.rb
nasty-0.0.1388166944 lib/nasty/composite_command.rb
nasty-0.0.1388166636 lib/nasty/composite_command.rb
nasty-0.0.1388165564 lib/nasty/composite_command.rb
nasty-0.0.1388164945 lib/nasty/composite_command.rb
nasty-0.0.1388164765 lib/nasty/composite_command.rb
nasty-0.0.1388163823 lib/nasty/composite_command.rb
nasty-0.0.1388163382 lib/nasty/composite_command.rb
nasty-0.0.1388163140 lib/nasty/composite_command.rb
nasty-0.0.1388162472 lib/nasty/composite_command.rb
nasty-0.0.1386739849 lib/nasty/composite_command.rb
nasty-0.0.1386739802 lib/nasty/composite_command.rb