Skip to content

Commit 5be8d2c

Browse files
authored
Merge pull request #2 from ArkieCoder/add-lessons
add lessons
2 parents 9490563 + f9b1804 commit 5be8d2c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1425
-50
lines changed

examples/1.1.0.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
a = 1
2+
b = 4
3+
puts "The number #{a} is less than #{b}"

examples/1.1.1.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
def string_length_interpolater(incoming_string)
2+
"The string you just gave me has a length of "
3+
end
4+
5+
puts string_length_interpolater("hello")

examples/1.1.2.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puts "[Luke:] I can’t believe it. [Yoda:] That is why you fail."

examples/1.1.3.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puts "Ruby is a beautiful language"

examples/1.1.4.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puts "I can't work with any other language but Ruby"

examples/1.1.5.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puts "I am a Rubyist"

examples/1.1.6.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puts 'i am in lowercase'.upcase #=> 'I AM IN LOWERCASE'

examples/1.1.7.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puts 'This is Mixed CASE'

examples/1.1.8.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puts "ThiS iS A vErY ComPlEx SenTeNcE"

examples/1.2.0.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
'Fear is the path to the dark side'

0 commit comments

Comments
 (0)