Class: Link
- Inherits:
-
Object
- Object
- Link
- Includes:
- Clearwater::Component
- Defined in:
- lib/clearwater/link.rb
Instance Attribute Summary
Attributes included from Clearwater::Component
Instance Method Summary collapse
-
#initialize(attributes, content) ⇒ Link
constructor
A new instance of Link.
- #render ⇒ Object
Methods included from Clearwater::Component
Constructor Details
#initialize(attributes, content) ⇒ Link
Returns a new instance of Link.
6 7 8 9 |
# File 'lib/clearwater/link.rb', line 6 def initialize attributes, content @attributes = attributes @content = content end |
Instance Method Details
#render ⇒ Object
11 12 13 |
# File 'lib/clearwater/link.rb', line 11 def render a(@attributes, @content) end |