Sha256: a76f9a1a5926470478c68e82316e05c0ce366196e001e27016c351244c1a4f8f
Contents?: true
Size: 744 Bytes
Versions: 21
Compression:
Stored size: 744 Bytes
Contents
module Dedalus module PatternLibrary class ApplicationView < Dedalus::ApplicationView attr_accessor :library_view 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 def app_template ApplicationTemplate.new end def current_entry_name @current_entry_name ||= "Welcome" end def route_to(section_name) @current_entry_name = section_name end end end end
Version data entries
21 entries across 21 versions & 1 rubygems