Class: Source2MD::Formatter::TypeElse
- Inherits:
-
Base
- Object
- Base
- Source2MD::Formatter::TypeElse
show all
- Defined in:
- lib/source2md/formatter/type_else.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/formatter/type_else.rb', line 4
def self.accept?(element)
true
end
|
Instance Method Details
#to_md ⇒ Object
8
9
10
11
12
13
14
15
|
# File 'lib/source2md/formatter/type_else.rb', line 8
def to_md
p "-" * 80
p element.head
p element.body
p element
p "-" * 80
abort
end
|