Class: Fe::PageLink

Inherits:
Object
  • Object
show all
Defined in:
app/models/fe/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.



7
8
9
10
11
12
# File 'app/models/fe/page_link.rb', line 7

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.



4
5
6
# File 'app/models/fe/page_link.rb', line 4

def dom_id
  @dom_id
end

#labelObject

Returns the value of attribute label.



4
5
6
# File 'app/models/fe/page_link.rb', line 4

def label
  @label
end

#load_pathObject

Returns the value of attribute load_path.



4
5
6
# File 'app/models/fe/page_link.rb', line 4

def load_path
  @load_path
end

#pageObject

Returns the value of attribute page.



4
5
6
# File 'app/models/fe/page_link.rb', line 4

def page
  @page
end

#save_pathObject

to save current page



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

def save_path
  @save_path
end