Class: Docscribe::InlineRewriter::DocBlock::Entry
- Inherits:
-
Struct
- Object
- Struct
- Docscribe::InlineRewriter::DocBlock::Entry
- Defined in:
- lib/docscribe/inline_rewriter/doc_block.rb
Class Attribute Summary collapse
- .generated ⇒ Boolean
- .index ⇒ Integer
- .kind ⇒ Symbol
- .lines ⇒ Array<String>
- .option_owner ⇒ String?
- .subject ⇒ String?
- .tag ⇒ String
Instance Attribute Summary collapse
-
#generated ⇒ Object
writeonly
Sets the attribute generated.
-
#index ⇒ Object
writeonly
Sets the attribute index.
-
#kind ⇒ Object
writeonly
Sets the attribute kind.
-
#lines ⇒ Object
writeonly
Sets the attribute lines.
-
#option_owner ⇒ Object
writeonly
Sets the attribute option_owner.
-
#subject ⇒ Object
writeonly
Sets the attribute subject.
-
#tag ⇒ Object
writeonly
Sets the attribute tag.
Class Attribute Details
.generated ⇒ Boolean
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 Entry = Struct.new( :kind, :tag, :lines, :subject, :option_owner, :generated, :index, keyword_init: true ) |
.index ⇒ Integer
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 Entry = Struct.new( :kind, :tag, :lines, :subject, :option_owner, :generated, :index, keyword_init: true ) |
.kind ⇒ Symbol
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 Entry = Struct.new( :kind, :tag, :lines, :subject, :option_owner, :generated, :index, keyword_init: true ) |
.lines ⇒ Array<String>
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 Entry = Struct.new( :kind, :tag, :lines, :subject, :option_owner, :generated, :index, keyword_init: true ) |
.option_owner ⇒ String?
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 Entry = Struct.new( :kind, :tag, :lines, :subject, :option_owner, :generated, :index, keyword_init: true ) |
.subject ⇒ String?
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 Entry = Struct.new( :kind, :tag, :lines, :subject, :option_owner, :generated, :index, keyword_init: true ) |
.tag ⇒ String
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 Entry = Struct.new( :kind, :tag, :lines, :subject, :option_owner, :generated, :index, keyword_init: true ) |
Instance Attribute Details
#generated=(value) ⇒ Object
Sets the attribute generated
42 43 44 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 def generated=(value) @generated = value end |
#index=(value) ⇒ Object
Sets the attribute index
42 43 44 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 def index=(value) @index = value end |
#kind=(value) ⇒ Object
Sets the attribute kind
42 43 44 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 def kind=(value) @kind = value end |
#lines=(value) ⇒ Object
Sets the attribute lines
42 43 44 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 def lines=(value) @lines = value end |
#option_owner=(value) ⇒ Object
Sets the attribute option_owner
42 43 44 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 def option_owner=(value) @option_owner = value end |
#subject=(value) ⇒ Object
Sets the attribute subject
42 43 44 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 def subject=(value) @subject = value end |
#tag=(value) ⇒ Object
Sets the attribute tag
42 43 44 |
# File 'lib/docscribe/inline_rewriter/doc_block.rb', line 42 def tag=(value) @tag = value end |