Method: Translatomatic::String#offset
- Defined in:
- lib/translatomatic/string.rb
#offset ⇒ Number (readonly)
If this string is a substring of another string, returns the starting offset of this string in the original.
17 18 19 |
# File 'lib/translatomatic/string.rb', line 17 def offset @offset end |