Class: LazyString::SubString

Inherits:
Struct
  • Object
show all
Defined in:
lib/lazy-string.rb

Overview

TODO: change name of SubString.

Instance Attribute Summary collapse

Instance Attribute Details

#startObject

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



8
9
10
# File 'lib/lazy-string.rb', line 8

def start
  @start
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



8
9
10
# File 'lib/lazy-string.rb', line 8

def value
  @value
end