Sha256: 823bf6b7bf1c861d179cd55d04fd2e984dafff15e8ad7d1ef4b5b222a4245e46
Contents?: true
Size: 381 Bytes
Versions: 5
Compression:
Stored size: 381 Bytes
Contents
module NavigationHelpers def path_to(page_name) case page_name when 'the schedules page' '/' when 'the channel overview page' '/channels' when 'the status page' '/status' else raise "Can't find mapping from \"#{page_name}\" to a path.\n" + "Now, go and add a mapping in #{__FILE__}" end end end World(NavigationHelpers)
Version data entries
5 entries across 5 versions & 1 rubygems