Sha256: b679c18b86218f3ff16290cdc3a519bc771c77e5e0c7686a24cc3be7802c6193

Contents?: true

Size: 271 Bytes

Versions: 35

Compression:

Stored size: 271 Bytes

Contents

require 'husky/broadcaster'

module Husky

  class Interactor
    include Husky::Broadcaster

    class << self

      def run(*args)
        new(*args).tap { |interactor| interactor.run }
      end

    end

    def run
      raise NotImplementedError
    end
  end

end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
husky-0.3.7 lib/husky/interactor.rb
husky-0.3.6 lib/husky/interactor.rb
husky-0.3.5 lib/husky/interactor.rb
husky-0.3.4 lib/husky/interactor.rb
husky-0.3.3 lib/husky/interactor.rb
husky-0.3.2 lib/husky/interactor.rb
husky-0.3.1 lib/husky/interactor.rb
husky-0.3.0 lib/husky/interactor.rb
husky-0.2.9 lib/husky/interactor.rb
husky-0.2.8 lib/husky/interactor.rb
husky-0.2.7 lib/husky/interactor.rb
husky-0.2.6 lib/husky/interactor.rb
husky-0.2.5 lib/husky/interactor.rb
husky-0.2.4 lib/husky/interactor.rb
husky-0.2.3 lib/husky/interactor.rb
husky-0.2.2 lib/husky/interactor.rb
husky-0.2.1 lib/husky/interactor.rb
husky-0.2.0 lib/husky/interactor.rb
husky-0.1.9 lib/husky/interactor.rb
husky-0.1.8 lib/husky/interactor.rb