Skip to content

Commit e5b1ed1

Browse files
committed
Private on the immediate next line from a method
1 parent d900afa commit e5b1ed1

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

src/main/ruby/core/array.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,6 @@ def sample_many(count, rng)
11091109

11101110
count == size ? result : result[0, count]
11111111
end
1112-
11131112
private :sample_many
11141113

11151114
def select!(&block)

src/main/ruby/core/file.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ def self.query_stat_mode(path)
207207
path = Truffle::Type.coerce_to_path(path)
208208
Truffle::POSIX.truffleposix_stat_mode(path)
209209
end
210-
211210
private_class_method :query_stat_mode
212211

213212
##

src/main/ruby/core/io.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,6 @@ def self.do_select(
11211121
end
11221122
end
11231123
end
1124-
11251124
private_class_method :do_select
11261125

11271126
##

src/main/ruby/core/string.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,6 @@ def inspect_char(ascii, unicode, index, char, array)
639639

640640
consumed
641641
end
642-
643642
private :inspect_char
644643

645644
def prepend(*others)

src/main/ruby/core/struct.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ def check_index_var(var)
203203
end
204204
_attrs[var]
205205
end
206-
207206
private :check_index_var
208207

209208
def dig(key, *more)

0 commit comments

Comments
 (0)