Class: Perron::Markdown::Parser
- Inherits:
-
Object
- Object
- Perron::Markdown::Parser
show all
- Defined in:
- lib/perron/markdown.rb
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(**options) ⇒ Parser
50
51
52
|
# File 'lib/perron/markdown.rb', line 50
def initialize(**options)
@options = options
end
|
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
48
49
50
|
# File 'lib/perron/markdown.rb', line 48
def options
@options
end
|
Class Method Details
.available? ⇒ Boolean
56
|
# File 'lib/perron/markdown.rb', line 56
def self.available? = true
|
Instance Method Details
#parse(text) ⇒ Object
54
|
# File 'lib/perron/markdown.rb', line 54
def parse(text) = text.to_s
|