Sha256: 70d18c0f9b2013ee5b6e95da7e43dff23e9a1cea0fe77dda26f90b59216a3fd6

Contents?: true

Size: 347 Bytes

Versions: 791

Compression:

Stored size: 347 Bytes

Contents

module Seahorse
  module Client
    module EventEmitter

      def initialize(*args)
        @listeners = {}
        super
      end

      def emit(event_name, *args, &block)
        @listeners[event_name] ||= []
        @listeners[event_name] << Proc.new
      end

      def signal(event, *args)
        @listeners
      end

    end
  end
end

Version data entries

791 entries across 791 versions & 2 rubygems

Version Path
aws-sdk-core-2.3.23 lib/seahorse/client/events.rb
aws-sdk-core-3.54.1 lib/seahorse/client/events.rb
aws-sdk-core-2.11.285 lib/seahorse/client/events.rb
aws-sdk-core-2.11.284 lib/seahorse/client/events.rb
aws-sdk-core-3.54.0 lib/seahorse/client/events.rb
aws-sdk-core-2.11.283 lib/seahorse/client/events.rb
aws-sdk-core-2.11.282 lib/seahorse/client/events.rb
aws-sdk-core-2.11.281 lib/seahorse/client/events.rb
aws-sdk-core-3.53.1 lib/seahorse/client/events.rb
aws-sdk-core-2.11.280 lib/seahorse/client/events.rb
aws-sdk-core-3.53.0 lib/seahorse/client/events.rb
aws-sdk-core-2.11.279 lib/seahorse/client/events.rb
aws-sdk-core-2.11.278 lib/seahorse/client/events.rb
aws-sdk-core-2.11.277 lib/seahorse/client/events.rb
aws-sdk-core-2.11.276 lib/seahorse/client/events.rb
aws-sdk-core-3.52.1 lib/seahorse/client/events.rb
aws-sdk-core-2.11.275 lib/seahorse/client/events.rb
aws-sdk-core-3.52.0 lib/seahorse/client/events.rb
aws-sdk-core-2.11.274 lib/seahorse/client/events.rb
aws-sdk-core-2.11.273 lib/seahorse/client/events.rb