Sha256: e9fa921376df5c3409c3546eda27e3c60939af128c7f8e1315971456c66726c9

Contents?: true

Size: 289 Bytes

Versions: 6

Compression:

Stored size: 289 Bytes

Contents

class SidebarScreen < Prime::BaseScreen
  def render
    @main_section = SidebarTableSection.new(screen: self)
    @main_section.render
  end

  def open_home
    open_screen HomeScreen.new(navigation: true)
  end

  def open_help
    open_screen HelpScreen.new(navigation: true)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
motion-prime-0.4.5 files/app/screens/sidebar_screen.rb
motion-prime-0.4.4 files/app/screens/sidebar_screen.rb
motion-prime-0.4.3 files/app/screens/sidebar_screen.rb
motion-prime-0.4.2 files/app/screens/sidebar_screen.rb
motion-prime-0.4.1 files/app/screens/sidebar_screen.rb
motion-prime-0.4.0 files/app/screens/sidebar_screen.rb