Class: Nm::Render
- Inherits:
-
Object
- Object
- Nm::Render
- Defined in:
- lib/nm/render.rb
Instance Attribute Summary collapse
-
#dstack ⇒ Object
readonly
Returns the value of attribute dstack.
-
#locals ⇒ Object
readonly
Returns the value of attribute locals.
Instance Method Summary collapse
-
#initialize(dstack:, locals:) ⇒ Render
constructor
A new instance of Render.
Constructor Details
#initialize(dstack:, locals:) ⇒ Render
Returns a new instance of Render.
8 9 10 11 |
# File 'lib/nm/render.rb', line 8 def initialize(dstack:, locals:) @dstack = dstack @locals = locals end |
Instance Attribute Details
#dstack ⇒ Object (readonly)
Returns the value of attribute dstack.
6 7 8 |
# File 'lib/nm/render.rb', line 6 def dstack @dstack end |
#locals ⇒ Object (readonly)
Returns the value of attribute locals.
6 7 8 |
# File 'lib/nm/render.rb', line 6 def locals @locals end |