Class: Sourcerer::Sync::BlockParser::TextSegment

Inherits:
Struct
  • Object
show all
Defined in:
lib/sourcerer/sync/block_parser.rb

Overview

Plain text in between (or around) tagged blocks

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject (readonly)

The raw text



23
# File 'lib/sourcerer/sync/block_parser.rb', line 23

TextSegment = Struct.new(:content, keyword_init: true)