mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ext/ripper/lib/ripper/lexer.rb: fix a wrong delegation
The target method name is a typo.
This commit is contained in:
parent
2d6b92c5f6
commit
ef8c5161b4
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Ripper
|
||||||
def pretty_print(q) q.text(to_s) end
|
def pretty_print(q) q.text(to_s) end
|
||||||
def ==(i) super or to_int == i end
|
def ==(i) super or to_int == i end
|
||||||
def &(i) self.class.new(to_int & i) end
|
def &(i) self.class.new(to_int & i) end
|
||||||
def |(i) self.class.new(to_int & i) end
|
def |(i) self.class.new(to_int | i) end
|
||||||
def allbits?(i) to_int.allbits?(i) end
|
def allbits?(i) to_int.allbits?(i) end
|
||||||
def anybits?(i) to_int.anybits?(i) end
|
def anybits?(i) to_int.anybits?(i) end
|
||||||
def nobits?(i) to_int.nobits?(i) end
|
def nobits?(i) to_int.nobits?(i) end
|
||||||
|
|
Loading…
Add table
Reference in a new issue