Sha256: ec89c79fd73b400d10cce6dcd7b6fb3d656259604f0a5cd931503671dd8d7354
Contents?: true
Size: 738 Bytes
Versions: 18
Compression:
Stored size: 738 Bytes
Contents
module RubyApp module Elements module Pages require 'ruby_app/elements/markdown' require 'ruby_app/elements/pages/blank_page' require 'ruby_app/elements/pages/test_pages/default_test_page' class DefaultPage < RubyApp::Elements::Pages::BlankPage template_path(:all, File.dirname(__FILE__)) def initialize super @markdown = RubyApp::Elements::Markdown.new @markdown.clicked do |element, event| case event.name when 'go_test' RubyApp::Session.pages.push(RubyApp::Elements::Pages::TestPages::DefaultTestPage.new) event.refresh end end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems