Class: RegularExpression::Bytecode::Insns::GuardBegin

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

Overview

If we’re at the beginning of the string, then jump to the then instruction. Otherwise fail the entire match.

Instance Attribute Summary collapse

Instance Attribute Details

#guardedObject

Returns the value of attribute guarded

Returns:

  • (Object)

    the current value of guarded



99
100
101
# File 'lib/regular_expression/bytecode.rb', line 99

def guarded
  @guarded
end