Class: RubyApp::Elements::Link
- Inherits:
-
Click
- Object
- RubyApp::Element
- Click
- RubyApp::Elements::Link
- Defined in:
- lib/ruby_app/elements/link.rb
Instance Attribute Summary
Attributes inherited from RubyApp::Element
Instance Method Summary collapse
-
#initialize ⇒ Link
constructor
A new instance of Link.
Methods inherited from RubyApp::Element
#element_id, get_content_type, get_element
Methods included from Mixins::ConfigurationMixin
Methods included from Mixins::TranslateMixin
Methods included from Mixins::TemplateMixin
#exclude_parent_template, #exclude_parent_template?, #get_template, #get_templates, #template_name, #template_path
Methods included from Mixins::RenderMixin
#content_for, #render, #rendered?, #templates
Constructor Details
#initialize ⇒ Link
Returns a new instance of Link.
10 11 12 13 |
# File 'lib/ruby_app/elements/link.rb', line 10 def initialize super attributes.merge!(:href => '') end |