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.5.15 lib/husky/interactor.rb
husky-0.5.14 lib/husky/interactor.rb
husky-0.5.13 lib/husky/interactor.rb
husky-0.5.12 lib/husky/interactor.rb
husky-0.5.11 lib/husky/interactor.rb
husky-0.5.10 lib/husky/interactor.rb
husky-0.5.9 lib/husky/interactor.rb
husky-0.5.8 lib/husky/interactor.rb
husky-0.5.7 lib/husky/interactor.rb
husky-0.5.6 lib/husky/interactor.rb
husky-0.5.5 lib/husky/interactor.rb
husky-0.5.4 lib/husky/interactor.rb
husky-0.5.3 lib/husky/interactor.rb
husky-0.5.1 lib/husky/interactor.rb
husky-0.5.0 lib/husky/interactor.rb
husky-0.4.9 lib/husky/interactor.rb
husky-0.4.8 lib/husky/interactor.rb
husky-0.4.7 lib/husky/interactor.rb
husky-0.4.6 lib/husky/interactor.rb
husky-0.4.5 lib/husky/interactor.rb