Method: Pegarus::Rubinius#any
- Defined in:
- lib/pegarus/rubinius/compiler.rb
#any(g, count) ⇒ Object
95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/pegarus/rubinius/compiler.rb', line 95 def any(g, count) g.push_index g.push count g.send :+, 1, false g.push_subject g.send :size, 0, false g.send :<=, 1, false g.gif g.fail g.push count g.inc_index end |