Sha256: b39ef1c7eef4bd330afa3698c3a13cd2b9039490e8e2636596fe4c81feba7c22
Contents?: true
Size: 816 Bytes
Versions: 70
Compression:
Stored size: 816 Bytes
Contents
module RubyApp module Elements module Pages module TestPages require 'ruby_app/elements/markdown' require 'ruby_app/elements/pages/blank_page' require 'ruby_app/elements/pages/test_pages/linked_test_page' require 'ruby_app/session' class MarkdownTestPage < RubyApp::Elements::Pages::BlankPage template_path(:all, File.dirname(__FILE__)) def initialize super @markdown = RubyApp::Elements::Markdown.new @markdown.clicked do |element, event| if event.name == "go" RubyApp::Session.pages.push(RubyApp::Elements::Pages::TestPages::LinkedTestPage.new) event.refresh end end end end end end end end
Version data entries
70 entries across 70 versions & 1 rubygems