Skip to content

Commit

Permalink
kernel.rb (_inspect): _inspect method no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed Jun 22, 2023
1 parent 6ae6b63 commit fc9fffc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mrblib/kernel.rb
Expand Up @@ -39,11 +39,6 @@ def !~(y)
!(self =~ y)
end

# internal method for inspect
def _inspect(_recur_list)
self.inspect
end

def to_enum(*a)
raise NotImplementedError.new("fiber required for enumerator")
end
Expand Down

0 comments on commit fc9fffc

Please sign in to comment.