Class: LazyString::SubString
- Inherits:
-
Struct
- Object
- Struct
- LazyString::SubString
- Defined in:
- lib/lazy-string.rb
Overview
TODO: change name of SubString.
Instance Attribute Summary collapse
-
#start ⇒ Object
Returns the value of attribute start.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#start ⇒ Object
Returns the value of attribute start
8 9 10 |
# File 'lib/lazy-string.rb', line 8 def start @start end |
#value ⇒ Object
Returns the value of attribute value
8 9 10 |
# File 'lib/lazy-string.rb', line 8 def value @value end |