Sha256: 49f6adc24a81cc8cb31dfa3fba15f174ec66e67881836bae54439cc9267aa7a9

Contents?: true

Size: 169 Bytes

Versions: 5

Compression:

Stored size: 169 Bytes

Contents

def make_story_channel(&block)
  story do |session|
    channel = session.opens_channel
    block.call(channel)
    channel.gets_close
    channel.sends_close
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
soloist-1.0.3 spec/helpers/net_ssh_test_helper.rb
soloist-1.0.2 spec/helpers/net_ssh_test_helper.rb
soloist-1.0.1 spec/helpers/net_ssh_test_helper.rb
soloist-rvm-0.0.1 spec/helpers/net_ssh_test_helper.rb
soloist-1.0.0 spec/helpers/net_ssh_test_helper.rb