Class: MarkdownMetrics::Elements::Sentence::Base
- Inherits:
-
Object
- Object
- MarkdownMetrics::Elements::Sentence::Base
- Defined in:
- lib/markdown_metrics/elements/sentence/base.rb
Instance Attribute Summary collapse
-
#skip_lines_until ⇒ Object
Returns the value of attribute skip_lines_until.
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(value:, start_at:) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(value:, start_at:) ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 |
# File 'lib/markdown_metrics/elements/sentence/base.rb', line 9 def initialize(value:, start_at:) @value = value @start_at = start_at @skip_lines_until = 0 end |
Instance Attribute Details
#skip_lines_until ⇒ Object
Returns the value of attribute skip_lines_until.
7 8 9 |
# File 'lib/markdown_metrics/elements/sentence/base.rb', line 7 def skip_lines_until @skip_lines_until end |
Instance Method Details
#attributes ⇒ Object
15 16 17 |
# File 'lib/markdown_metrics/elements/sentence/base.rb', line 15 def attributes {} end |