Class: BlueDoc::SML::Rules::Br
- Inherits:
-
Base
- Object
- Base
- BlueDoc::SML::Rules::Br
show all
- Defined in:
- lib/bluedoc/sml/rules/br.rb
Constant Summary
Constants inherited
from Base
BlueDoc::SML::Rules::Base::INDENT_PX
Class Method Summary
collapse
Methods inherited from Base
to_text
Class Method Details
.match?(node) ⇒ Boolean
5
6
7
|
# File 'lib/bluedoc/sml/rules/br.rb', line 5
def self.match?(node)
tag_name(node) == "br"
end
|
.to_html(node, opts = {}) ⇒ Object
9
10
11
|
# File 'lib/bluedoc/sml/rules/br.rb', line 9
def self.to_html(node, opts = {})
%(<br>)
end
|