Class: Pray::RenderedTarget

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



7
8
9
# File 'lib/pray/render.rb', line 7

def content
  @content
end

#managed_spansObject

Returns the value of attribute managed_spans

Returns:

  • (Object)

    the current value of managed_spans



7
8
9
# File 'lib/pray/render.rb', line 7

def managed_spans
  @managed_spans
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



7
8
9
# File 'lib/pray/render.rb', line 7

def path
  @path
end