Class: Pray::RenderedTarget
- Inherits:
-
Struct
- Object
- Struct
- Pray::RenderedTarget
- Defined in:
- lib/pray/render.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#managed_spans ⇒ Object
Returns the value of attribute managed_spans.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path:, content:, managed_spans: []) ⇒ RenderedTarget
constructor
A new instance of RenderedTarget.
Constructor Details
#initialize(path:, content:, managed_spans: []) ⇒ RenderedTarget
Returns a new instance of RenderedTarget.
8 9 10 |
# File 'lib/pray/render.rb', line 8 def initialize(path:, content:, managed_spans: []) super end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
7 8 9 |
# File 'lib/pray/render.rb', line 7 def content @content end |
#managed_spans ⇒ Object
Returns the value of attribute managed_spans
7 8 9 |
# File 'lib/pray/render.rb', line 7 def managed_spans @managed_spans end |
#path ⇒ Object
Returns the value of attribute path
7 8 9 |
# File 'lib/pray/render.rb', line 7 def path @path end |