Sha256: c3c629bb293c8910ea28472908ce1be6a7075efb25a0e329e56b6d8c0a0e76c3

Contents?: true

Size: 347 Bytes

Versions: 34

Compression:

Stored size: 347 Bytes

Contents

# encoding: UTF-8

module Vines
  class Stream
    class Component
      class Start < State
        def initialize(stream, success=Handshake)
          super
        end

        def node(node)
          raise StreamErrors::NotAuthorized unless stream?(node)
          stream.start(node)
          advance
        end
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 4 rubygems

Version Path
diaspora-vines-0.2.0.develop.4 lib/vines/stream/component/start.rb
diaspora-vines-0.2.0.develop.3 lib/vines/stream/component/start.rb
diaspora-vines-0.2.0.develop.2 lib/vines/stream/component/start.rb
diaspora-vines-0.2.0.develop.1 lib/vines/stream/component/start.rb
diaspora-vines-0.1.28 lib/vines/stream/component/start.rb
lygneo-vines-0.1.5 lib/vines/stream/component/start.rb
lygneo-vines-0.1.1 lib/vines/stream/component/start.rb
diaspora-vines-0.1.27 lib/vines/stream/component/start.rb
diaspora-vines-0.1.26 lib/vines/stream/component/start.rb
diaspora-vines-0.1.25 lib/vines/stream/component/start.rb
diaspora-vines-0.1.24 lib/vines/stream/component/start.rb
vines-0.4.10 lib/vines/stream/component/start.rb
diaspora-vines-0.1.22 lib/vines/stream/component/start.rb
diaspora-vines-0.1.21 lib/vines/stream/component/start.rb
diaspora-vines-0.1.2 lib/vines/stream/component/start.rb
vines-0.4.9 lib/vines/stream/component/start.rb
vines-0.4.8 lib/vines/stream/component/start.rb
vines-0.4.7 lib/vines/stream/component/start.rb
vines-0.4.6 lib/vines/stream/component/start.rb
vinesmod-0.4.5.2 lib/vines/stream/component/start.rb