Class: Source2MD::Type::ElementDeepComment
- Defined in:
- lib/source2md/type/element_deep_comment.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Source2MD::Type::Base
Class Method Details
.accept?(element) ⇒ Boolean
4 5 6 |
# File 'lib/source2md/type/element_deep_comment.rb', line 4 def self.accept?(element) element.body.match?(/^##/) end |