Class: Varar::Core::ParamSpan

Inherits:
Data
  • Object
show all
Defined in:
lib/varar/core/matcher.rb

Overview

UTF-16 start/end of one captured parameter within a sentence.

Instance Attribute Summary collapse

Instance Attribute Details

#endObject (readonly)

Returns the value of attribute end

Returns:

  • (Object)

    the current value of end



8
9
10
# File 'lib/varar/core/matcher.rb', line 8

def end
  @end
end

#startObject (readonly)

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



8
9
10
# File 'lib/varar/core/matcher.rb', line 8

def start
  @start
end