Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[BREAK]

  • Loading branch information...
commit c05d96b675232356d6fea1f9fadce1ee66629a0e 1 parent e3c4464
Kurtis Rainbolt-Greene authored
View
7 README.mdown
@@ -29,3 +29,10 @@ conversations get awkward and the
book will, at times, start ranting
about some woman called "Vickey"
and how it all really went down.
+
+SETUP
+-----
+
+1. `bundle install`
+2. `ln -s `pwd` ~/.pow/learn-you-the-ruby && open http://learn-you-the-ruby.dev && stasis -d`
+3. Huzza!
View
0  _footer.html.slim
No changes.
View
0  _header.html.slim
No changes.
View
0  chapter/1/index.html.mkd
No changes.
View
8 controller.rb
@@ -18,4 +18,12 @@
def link_to(text, url)
"<a href='#{url}'>#{text}</a>"
end
+
+ def layout_title
+ "Learn You The Ruby For Awesome Power"
+ end
+
+ def layout_keywords
+ %w[].join(', ')
+ end
end
View
25 index.html.mkd
@@ -0,0 +1,25 @@
+Learn You The Ruby For Awesome Power <small>By Kurtis Rainbolt-Greene</small>
+====================================
+
+Welcome to L.Y.T.R.F.A.P., a book that will help you learn the programming language Ruby.
+If you walk through each excersize you'll know more about Ruby than you ever did.
+It's really simple actually, and quite fun!
+
+
+Table Of Contents
+-----------------
+
+1. Ruby [&rarr;](/chapter/1)
+ 1. How This Book Works [&rarr;](/chapter/1/task/1/)
+ 2. Example Task [&rarr;](/chapter/1/task/2/)
+2. Easy [&rarr;](/chapter/2)
+ 1. Install Ruby and The REPL [&rarr;](/chapter/2/task/1/)
+ 2. Numbers and Text [&rarr;](/chapter/2/task/2/)
+ 3. Comments and Special Characters [&rarr;](/chapter/2/task/3/)
+ 4. Assignments (AKA Variables) [&rarr;](/chapter/2/task/4/)
+ 5. Input and Output [&rarr;](/chapter/2/task/5/)
+ 6. Interpolation [&rarr;](/chapter/2/task/6/)
+ 7. Functions (AKA Methods) [&rarr;](/chapter/2/task/7/)
+ 8. Array [&rarr;](/chapter/2/task/8/)
+ 9. Hashes [&rarr;](/chapter/2/task/9/)
+ 10. Classes & Objects [&rarr;](/chapter/2/task/10/)
View
21 layout.html.slim
@@ -0,0 +1,21 @@
+doctype html
+html
+ head
+ title = layout_title
+ meta content=layout_keywords
+ link href="http://fonts.googleapis.com/css?family=Asap:400,700|Fjord+One" rel="stylesheet"
+ link href="/styles/bootstrap.min.css" rel="stylesheet"
+ link href="/styles/bootstrap-responsive.min.css" rel="stylesheet"
+ link href="/styles/core.css" rel="stylesheet"
+ script src="/scripts/jquery.min.js"
+ script src="/scripts/bootstrap.min.js"
+ body
+ header
+ .container
+ == render '_header.html.slim'
+ article.container
+ == yield
+ footer
+ .container
+ == render '_footer.html.slim'
+ == render '_analytics.html.slim'
View
10 styles/core.css.scss
@@ -1,5 +1,9 @@
body {
- & article { & li, & p { max-width: 640px; } }
- & p, & li { font-family: "Fjord One", serif; }
- & ul, & ol { padding-left: 1.5em; }
+ background: #E8E8E8;
+ article {
+ li, p { max-width: 640px; }
+ h1, h2, h3 { color: #990100; }
+ }
+ p, li { font-family: "Fjord One", serif; }
+ ul, ol { padding-left: 1.25em; }
}
Please sign in to comment.
Something went wrong with that request. Please try again.