Class: Scorched::Match

Inherits:
Struct
  • Object
show all
Defined in:
lib/scorched/match.rb

Instance Attribute Summary collapse

Instance Attribute Details

#capturesObject

Returns the value of attribute captures

Returns:

  • (Object)

    the current value of captures



2
3
4
# File 'lib/scorched/match.rb', line 2

def captures
  @captures
end

#failed_conditionObject

Returns the value of attribute failed_condition

Returns:

  • (Object)

    the current value of failed_condition



2
3
4
# File 'lib/scorched/match.rb', line 2

def failed_condition
  @failed_condition
end

#mappingObject

Returns the value of attribute mapping

Returns:

  • (Object)

    the current value of mapping



2
3
4
# File 'lib/scorched/match.rb', line 2

def mapping
  @mapping
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



2
3
4
# File 'lib/scorched/match.rb', line 2

def path
  @path
end