Skip to content

Commit 294c725

Browse files
committed
added protected send_data method in Stream
1 parent 6b30ee3 commit 294c725

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/skyfall/stream.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,17 @@ def inspect
170170
end
171171

172172

173+
protected
174+
175+
def socket
176+
@ws
177+
end
178+
179+
def send_data(data)
180+
@ws.send(data)
181+
end
182+
183+
173184
private
174185

175186
def reconnect_delay

0 commit comments

Comments
 (0)