Class: Para::Markup::Component
- Inherits:
-
Object
- Object
- Para::Markup::Component
- Defined in:
- lib/para/markup/component.rb
Direct Known Subclasses
Alert, Modal, Panel, ResourceTree, ResourcesButtons, ResourcesTable
Instance Attribute Summary collapse
-
#view ⇒ Object
readonly
Returns the value of attribute view.
Instance Method Summary collapse
-
#initialize(view) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(view) ⇒ Component
Returns a new instance of Component.
8 9 10 |
# File 'lib/para/markup/component.rb', line 8 def initialize view @view = view end |
Instance Attribute Details
#view ⇒ Object (readonly)
Returns the value of attribute view.
4 5 6 |
# File 'lib/para/markup/component.rb', line 4 def view @view end |