Module: NokogiriTruncator::CommentNode

Defined in:
lib/middleman-blog/truncate_html.rb

Instance Method Summary collapse

Instance Method Details

#truncate(*_args) ⇒ Object



75
76
77
78
# File 'lib/middleman-blog/truncate_html.rb', line 75

def truncate(*_args)
  # Don't truncate comments, since they aren't visible
  self
end