Class: Octodown::Renderer::GithubMarkdown
- Inherits:
-
Object
- Object
- Octodown::Renderer::GithubMarkdown
- Includes:
- HTML, Renderable
- Defined in:
- lib/octodown/renderer/github_markdown.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(file, options = {}) ⇒ GithubMarkdown
constructor
A new instance of GithubMarkdown.
Methods included from Renderable
Constructor Details
#initialize(file, options = {}) ⇒ GithubMarkdown
Returns a new instance of GithubMarkdown.
14 15 16 17 |
# File 'lib/octodown/renderer/github_markdown.rb', line 14 def initialize(file, = {}) @file = file @options = end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
12 13 14 |
# File 'lib/octodown/renderer/github_markdown.rb', line 12 def content @content end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
12 13 14 |
# File 'lib/octodown/renderer/github_markdown.rb', line 12 def file @file end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
12 13 14 |
# File 'lib/octodown/renderer/github_markdown.rb', line 12 def @options end |