Class: Canopus::MultiBuffer::Excerpt
- Inherits:
-
Struct
- Object
- Struct
- Canopus::MultiBuffer::Excerpt
- Defined in:
- lib/canopus/multi_buffer.rb,
sig/services.rbs
Instance Attribute Summary collapse
-
#buffer ⇒ Object
Returns the value of attribute buffer.
-
#first ⇒ Object
Returns the value of attribute first.
-
#last ⇒ Object
Returns the value of attribute last.
-
#title ⇒ Object
Returns the value of attribute title.
-
#view_end ⇒ Object
Returns the value of attribute view_end.
-
#view_start ⇒ Object
Returns the value of attribute view_start.
Class Method Summary collapse
Instance Attribute Details
#buffer ⇒ Object
Returns the value of attribute buffer
6 7 8 |
# File 'lib/canopus/multi_buffer.rb', line 6 def buffer @buffer end |
#first ⇒ Object
Returns the value of attribute first
6 7 8 |
# File 'lib/canopus/multi_buffer.rb', line 6 def first @first end |
#last ⇒ Object
Returns the value of attribute last
6 7 8 |
# File 'lib/canopus/multi_buffer.rb', line 6 def last @last end |
#title ⇒ Object
Returns the value of attribute title
6 7 8 |
# File 'lib/canopus/multi_buffer.rb', line 6 def title @title end |
#view_end ⇒ Object
Returns the value of attribute view_end
6 7 8 |
# File 'lib/canopus/multi_buffer.rb', line 6 def view_end @view_end end |
#view_start ⇒ Object
Returns the value of attribute view_start
6 7 8 |
# File 'lib/canopus/multi_buffer.rb', line 6 def view_start @view_start end |
Class Method Details
.new ⇒ instance
39 |
# File 'sig/services.rbs', line 39
def self.new: (Buffer buffer, Buffer::Anchor first, Buffer::Anchor last, String title, ?Integer? view_start, ?Integer? view_end) -> instance
|