class Dedalus::PatternLibrary::ApplicationView
Attributes
library_view[RW]
Public Instance Methods
app_screen()
click to toggle source
# File lib/dedalus/pattern_library/application_view.rb, line 6 def app_screen ApplicationScreen.new(app_template).hydrate( mouse_position: mouse_position, library_section_tabs: library_view.library_section_tabs, current_entry_name: current_entry_name, library_sections: library_view.library_sections, library_items: library_view.library_items ) end
app_template()
click to toggle source
# File lib/dedalus/pattern_library/application_view.rb, line 16 def app_template ApplicationTemplate.new end
current_entry_name()
click to toggle source
# File lib/dedalus/pattern_library/application_view.rb, line 20 def current_entry_name @current_entry_name ||= "Welcome" end
route_to(section_name)
click to toggle source
# File lib/dedalus/pattern_library/application_view.rb, line 24 def route_to(section_name) @current_entry_name = section_name end