Skip to content

Commit 6559587

Browse files
committed
Make internal methods private
1 parent 15bf594 commit 6559587

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/net/ber/ber_parser.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ def read_ber(syntax = nil)
191191
def read_ber_id
192192
getbyte_nonblock
193193
end
194+
private :read_ber_id
194195

195196
# Internal: Replaces `getbyte` with nonblocking implementation.
196197
def getbyte_nonblock
@@ -207,4 +208,5 @@ def getbyte_nonblock
207208
# nothing to read on the socket (StringIO)
208209
nil
209210
end
211+
private :getbyte_nonblock
210212
end

0 commit comments

Comments
 (0)