Class: Qe::PageLink

Inherits:
Object
  • Object
show all
Defined in:
app/models/qe/page_link.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

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

#labelObject

Returns the value of attribute label.



5
6
7
# File 'app/models/qe/page_link.rb', line 5

def label
  @label
end

#load_pathObject

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

#pageObject

Returns the value of attribute page.



5
6
7
# File 'app/models/qe/page_link.rb', line 5

def page
  @page
end

#save_pathObject

to save current page



6
7
8
# File 'app/models/qe/page_link.rb', line 6

def save_path
  @save_path
end