Class: Discorb::View::Base::Prepend::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/discorb/view/view.rb

Overview

The result for rendering the view.

Instance Attribute Summary collapse

Instance Attribute Details

#componentsObject

Returns the value of attribute components

Returns:

  • (Object)

    the current value of components



121
122
123
# File 'lib/discorb/view/view.rb', line 121

def components
  @components
end

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



121
122
123
# File 'lib/discorb/view/view.rb', line 121

def content
  @content
end

#embedsObject

Returns the value of attribute embeds

Returns:

  • (Object)

    the current value of embeds



121
122
123
# File 'lib/discorb/view/view.rb', line 121

def embeds
  @embeds
end