Skip to content

Commit

Permalink
[Truffle] Fix some spacing and extra public.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Dec 15, 2016
1 parent 15eded4 commit 0156fc5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions truffle/src/main/ruby/core/array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@ def hash
def find_index(obj=undefined)
super
end

alias_method :index, :find_index

def insert(idx, *items)
Expand Down Expand Up @@ -522,7 +521,6 @@ def inspect
result << "]"
result
end

alias_method :to_s, :inspect

def join(sep=nil)
Expand Down Expand Up @@ -809,7 +807,6 @@ def combination_size(num)
end
private :combination_size


def compile_repeated_permutations(combination_size, place, index, &block)
length.times do |i|
place[index] = i
Expand All @@ -820,7 +817,6 @@ def compile_repeated_permutations(combination_size, place, index, &block)
end
end
end

private :compile_repeated_permutations

def reverse
Expand Down Expand Up @@ -1564,7 +1560,6 @@ def sort!(&block)

Truffle::Array.steal_storage(self, sort(&block))
end
public :sort!

def swap(a, b)
temp = at(a)
Expand Down

0 comments on commit 0156fc5

Please sign in to comment.