Class: Markdownlyze::Elements::Base
- Inherits:
-
Object
- Object
- Markdownlyze::Elements::Base
- Defined in:
- lib/markdownlyze/elements/base.rb
Direct Known Subclasses
BlankLine, CodeBlock, H1, H2, H3, H4, Image, Ol, Paragraph, Quote, RemoteImage, Table, Ul
Instance Attribute Summary collapse
-
#skip_until ⇒ Object
readonly
Returns the value of attribute skip_until.
Instance Method Summary collapse
-
#initialize(line:, index:, lines:) ⇒ Base
constructor
A new instance of Base.
- #options ⇒ Object
Constructor Details
#initialize(line:, index:, lines:) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 11 |
# File 'lib/markdownlyze/elements/base.rb', line 6 def initialize(line:, index:, lines:) @line = line @index = index @lines = lines @skip_until = nil end |
Instance Attribute Details
#skip_until ⇒ Object (readonly)
Returns the value of attribute skip_until.
4 5 6 |
# File 'lib/markdownlyze/elements/base.rb', line 4 def skip_until @skip_until end |
Instance Method Details
#options ⇒ Object
13 |
# File 'lib/markdownlyze/elements/base.rb', line 13 def = {} |