examples/example_app.rb in royw-shoeshine-0.0.2 vs examples/example_app.rb in royw-shoeshine-0.0.3

- old
+ new

@@ -9,12 +9,11 @@ require 'nav' require 'action' require 'dd_menu_action' require 'index_action' -require 'ordered_list_action' -require 'unordered_list_action' +require 'list_action' class ListExample < Shoes include Nav # a little meta programming to setup the three parts to each page like: @@ -40,11 +39,10 @@ # @@actions instance must be before any page_def statements @@actions = {} # define our pages page_def INDEX_PAGE, :index, IndexAction - page_def UNORDERED_LIST_PAGE, :ul, UnorderedListAction - page_def ORDERED_LIST_PAGE, :ol, OrderedListAction + page_def LIST_PAGE, :list, ListAction page_def DROP_DOWN_MENU_PAGE, :drop_down_menu, DropDownMenuAction private def run_action(action, *args)