Class: Qe::PageLink
- Inherits:
-
Object
- Object
- Qe::PageLink
- Defined in:
- app/models/qe/page_link.rb
Instance Attribute Summary collapse
-
#dom_id ⇒ Object
Returns the value of attribute dom_id.
-
#label ⇒ Object
Returns the value of attribute label.
-
#load_path ⇒ Object
Returns the value of attribute load_path.
-
#page ⇒ Object
Returns the value of attribute page.
-
#save_path ⇒ Object
to save current page.
Instance Method Summary collapse
-
#initialize(label, load_path, dom_id, page) ⇒ PageLink
constructor
A new instance of PageLink.
Constructor Details
#initialize(label, load_path, dom_id, page) ⇒ PageLink
Returns a new instance of PageLink.
8 9 10 11 12 13 |
# File 'app/models/qe/page_link.rb', line 8 def initialize(label, load_path, dom_id, page) @label = label @load_path = load_path @dom_id = dom_id @page = page end |
Instance Attribute Details
#dom_id ⇒ Object
Returns the value of attribute dom_id.
5 6 7 |
# File 'app/models/qe/page_link.rb', line 5 def dom_id @dom_id end |
#label ⇒ Object
Returns the value of attribute label.
5 6 7 |
# File 'app/models/qe/page_link.rb', line 5 def label @label end |
#load_path ⇒ Object
Returns the value of attribute load_path.
5 6 7 |
# File 'app/models/qe/page_link.rb', line 5 def load_path @load_path end |
#page ⇒ Object
Returns the value of attribute page.
5 6 7 |
# File 'app/models/qe/page_link.rb', line 5 def page @page end |
#save_path ⇒ Object
to save current page
6 7 8 |
# File 'app/models/qe/page_link.rb', line 6 def save_path @save_path end |