Class: Source2MD::Type::ElementReject
- Inherits:
-
Base
- Object
- Base
- Source2MD::Type::ElementReject
show all
- Defined in:
- lib/source2md/type/element_reject.rb
Instance Attribute Summary
Attributes inherited from Base
#element
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Class Method Details
.accept?(element) ⇒ Boolean
4
5
6
|
# File 'lib/source2md/type/element_reject.rb', line 4
def self.accept?(element)
element.body.match?(/^require.*setup/)
end
|
Instance Method Details
#to_md ⇒ Object
8
9
|
# File 'lib/source2md/type/element_reject.rb', line 8
def to_md
end
|