Last active
December 9, 2015 17:54
-
-
Save bryanp/6ce0bc1b31e0619fcffa to your computer and use it in GitHub Desktop.
Simple Pakyow App
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pakyow-core' | |
Pakyow::App.define do | |
routes do | |
default do | |
puts 'hello' | |
end | |
end | |
end.run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pakyow-core' | |
module Pakyow | |
module Helpers | |
def say_hello | |
puts 'hello' | |
end | |
end | |
App.define do | |
routes do | |
default do | |
say_hello | |
end | |
end | |
end.run | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment