Class: TwitterCldr::Transforms::Conversions::SideMatch

Inherits:
Struct
  • Object
show all
Defined in:
lib/twitter_cldr/transforms/conversions/side.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#after_offsetObject

Returns the value of attribute after_offset

Returns:

  • (Object)

    the current value of after_offset



10
11
12
# File 'lib/twitter_cldr/transforms/conversions/side.rb', line 10

def after_offset
  @after_offset
end

#before_offsetObject

Returns the value of attribute before_offset

Returns:

  • (Object)

    the current value of before_offset



10
11
12
# File 'lib/twitter_cldr/transforms/conversions/side.rb', line 10

def before_offset
  @before_offset
end

#capturesObject

Returns the value of attribute captures

Returns:

  • (Object)

    the current value of captures



10
11
12
# File 'lib/twitter_cldr/transforms/conversions/side.rb', line 10

def captures
  @captures
end

#key_offsetObject

Returns the value of attribute key_offset

Returns:

  • (Object)

    the current value of key_offset



10
11
12
# File 'lib/twitter_cldr/transforms/conversions/side.rb', line 10

def key_offset
  @key_offset
end

Instance Method Details

#startObject



11
12
13
# File 'lib/twitter_cldr/transforms/conversions/side.rb', line 11

def start
  key_offset.first
end

#stopObject



15
16
17
# File 'lib/twitter_cldr/transforms/conversions/side.rb', line 15

def stop
  key_offset.last
end