Skip to content

Commit

Permalink
Hide content, add new example
Browse files Browse the repository at this point in the history
  • Loading branch information
ferblape committed Nov 18, 2024
1 parent f506084 commit 284aa56
Show file tree
Hide file tree
Showing 2 changed files with 3,812 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/section_extractor/section.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ def initialize(document_content, toc_item, next_toc_item)
end

def inspect
"#<Section title: #{@raw_title}, content: #{@content.slice(0, 50)}>"
# Restore
# "#<Section title: #{@raw_title}, content: #{@content.slice(0, 50)}>"
"#<Section title: #{@raw_title}>"
end

def full_content
Expand Down
Loading

0 comments on commit 284aa56

Please sign in to comment.