Class: RegularExpression::Bytecode::Insns::JumpAny

Inherits:
Struct
  • Object
show all
Defined in:
lib/regular_expression/bytecode.rb

Overview

If it’s possible to read a character off the input, then do so and jump to the target instruction.

Instance Attribute Summary collapse

Instance Attribute Details

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



107
108
109
# File 'lib/regular_expression/bytecode.rb', line 107

def target
  @target
end