Class: Oselvar::Var::Core::ParamSpan

Inherits:
Data
  • Object
show all
Defined in:
lib/oselvar/var/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



9
10
11
# File 'lib/oselvar/var/core/matcher.rb', line 9

def end
  @end
end

#startObject (readonly)

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



9
10
11
# File 'lib/oselvar/var/core/matcher.rb', line 9

def start
  @start
end