Skip to content

Commit d7fa157

Browse files
committed
Let's put these lessons in order
1 parent 052fecb commit d7fa157

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

app/ui/tabs/lessons.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def content
1919
title "Lessons"
2020
@@lessons = []
2121
Dir["#{HH::LESSONS}/*.rb"].each { |f| load f }
22-
@@lessons.each do |name, blk|
22+
@@lessons.sort{|a, b| a[0] <=> b[0]}.each do |name, blk|
2323
stack do
2424
britelink "icon-file.png", name do
2525
HH::APP.start_lessons name, blk

lessons/basic_programming.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
lesson_set "Basic Programming" do
1+
lesson_set "2: Basic Programming" do
22

33
lesson "Hello there!"
44
page "Round One" do

lessons/basic_ruby.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
lesson_set "Basic Ruby" do
3+
lesson_set "3: Basic Ruby" do
44

55
lesson "Hello there!"
66
page "Let's get started" do

lessons/basic_shoes.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
lesson_set "Basic Shoes" do
3+
lesson_set "4: Basic Shoes" do
44

55
lesson "Hello there!"
66
page "Let's get started" do

lessons/tour.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
lesson_set "A Tour of Hackety Hack" do
1+
lesson_set "1: A Tour of Hackety Hack" do
22
lesson "Welcome!"
33
page "Why hello there!" do
44
para "Welcome to the Hackety Hack tour!"

0 commit comments

Comments
 (0)