Sha256: 4767c05da27c59c23edb4f028f60d091cdbc9088f530a891a669707626f69676
Contents?: true
Size: 754 Bytes
Versions: 8
Compression:
Stored size: 754 Bytes
Contents
module RubyApp module Elements module Pages module TestPages require 'ruby_app' require 'ruby_app/elements' 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" require 'ruby_app/elements/pages/test_pages/linked_test_page' RubyApp::Session.pages.push(RubyApp::Elements::Pages::TestPages::LinkedTestPage.new) event.refresh end end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems