Skip to content

Commit

Permalink
ext/ripper/lib/ripper/lexer.rb: fix a wrong delegation
Browse files Browse the repository at this point in the history
The target method name is a typo.
  • Loading branch information
mame committed Aug 6, 2019
1 parent 2d6b92c commit ef8c516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/ripper/lib/ripper/lexer.rb
Expand Up @@ -54,7 +54,7 @@ def initialize(i) super(i, Ripper.lex_state_name(i)).freeze end
def pretty_print(q) q.text(to_s) 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 allbits?(i) to_int.allbits?(i) end
def anybits?(i) to_int.anybits?(i) end
def nobits?(i) to_int.nobits?(i) end
Expand Down

0 comments on commit ef8c516

Please sign in to comment.