Sha256: d7d29dd77808f043c230c2e24a3691270c4e0bea5c1ea2cbcc91a065d38d4178

Contents?: true

Size: 224 Bytes

Versions: 1

Compression:

Stored size: 224 Bytes

Contents

module Nasty
  class CompositeCommand
    include Command

    def initialize(first, last)
      @first = first
      @last = last
    end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nasty-0.0.1395464273 lib/nasty/composite_command.rb