Skip to content

Commit 22197b4

Browse files
mtoddJohn Wedoff
authored andcommitted
Make internal methods private
1 parent 5073c6b commit 22197b4

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
@@ -200,6 +200,7 @@ def read_ber(syntax = nil)
200200
def read_ber_id
201201
getbyte_nonblock
202202
end
203+
private :read_ber_id
203204

204205
# Internal: Replaces `getbyte` with nonblocking implementation.
205206
def getbyte_nonblock
@@ -216,4 +217,5 @@ def getbyte_nonblock
216217
# nothing to read on the socket (StringIO)
217218
nil
218219
end
220+
private :getbyte_nonblock
219221
end

0 commit comments

Comments
 (0)