Class: Nm::Render

Inherits:
Object
  • Object
show all
Defined in:
lib/nm/render.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dstackObject (readonly)

Returns the value of attribute dstack.



6
7
8
# File 'lib/nm/render.rb', line 6

def dstack
  @dstack
end

#localsObject (readonly)

Returns the value of attribute locals.



6
7
8
# File 'lib/nm/render.rb', line 6

def locals
  @locals
end