Sha256: d7a008abac364f35d00c7dafc2c69d7d7c23150935d51e6b8c0191da8e597958

Contents?: true

Size: 272 Bytes

Versions: 26

Compression:

Stored size: 272 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

26 entries across 26 versions & 1 rubygems

Version Path
husky-0.4.4 lib/husky/interactor.rb
husky-0.4.3 lib/husky/interactor.rb
husky-0.4.2 lib/husky/interactor.rb
husky-0.4.1 lib/husky/interactor.rb
husky-0.4.0 lib/husky/interactor.rb
husky-0.3.8 lib/husky/interactor.rb