Class: Html2Md
- Inherits:
-
Object
- Object
- Html2Md
- Defined in:
- lib/html2md.rb,
lib/html2md/VERSION.rb,
lib/html2md/document.rb
Defined Under Namespace
Classes: Document
Constant Summary collapse
- VERSION =
"0.1.2"
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source = nil, options = {}) ⇒ Html2Md
constructor
A new instance of Html2Md.
- #parse ⇒ Object
Constructor Details
#initialize(source = nil, options = {}) ⇒ Html2Md
Returns a new instance of Html2Md.
8 9 10 11 |
# File 'lib/html2md.rb', line 8 def initialize(source =nil , = {}) @options = @source = source end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
6 7 8 |
# File 'lib/html2md.rb', line 6 def @options end |
#source ⇒ Object
Returns the value of attribute source.
6 7 8 |
# File 'lib/html2md.rb', line 6 def source @source end |