Class: MarkdownExpander::Expander::RenderResult
- Inherits:
-
Object
- Object
- MarkdownExpander::Expander::RenderResult
- Defined in:
- lib/markdown-expander.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(body, errors) ⇒ RenderResult
constructor
A new instance of RenderResult.
Constructor Details
#initialize(body, errors) ⇒ RenderResult
Returns a new instance of RenderResult.
116 117 118 119 |
# File 'lib/markdown-expander.rb', line 116 def initialize body, errors @body = body @errors = errors end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
114 115 116 |
# File 'lib/markdown-expander.rb', line 114 def body @body end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
115 116 117 |
# File 'lib/markdown-expander.rb', line 115 def errors @errors end |