Class: Para::Markup::Component

Inherits:
Object
  • Object
show all
Defined in:
lib/para/markup/component.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#viewObject (readonly)

Returns the value of attribute view.



4
5
6
# File 'lib/para/markup/component.rb', line 4

def view
  @view
end