Sha256: a09e2f86e0790645aa14c94282cd2908b9996741de32b537c22ebb38d9d714ae
Contents?: true
Size: 735 Bytes
Versions: 8
Compression:
Stored size: 735 Bytes
Contents
module RubyApp module Elements module Pages module TestPages require 'ruby_app' require 'ruby_app/elements' class LinkTestPage < RubyApp::Elements::Pages::BlankPage template_path(:all, File.dirname(__FILE__)) def initialize super @markdown = RubyApp::Elements::Markdown.new @link = RubyApp::Elements::Link.new @link.clicked do |element, event| 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
Version data entries
8 entries across 8 versions & 1 rubygems