Skip to content
Browse files

removing require statements from all the places as it's not required …

…and allowed anymore
  • Loading branch information...
1 parent e6deb5c commit 99543cf34e11291ed06c5c3da69f3f6c9871b650 @aakashd committed Dec 14, 2011
View
8 docs/Control Structures/02 - Conditions using the IF statement.haml
@@ -7,7 +7,6 @@ title - The if..else construct
!enchant 3049
short_name :simple_if_example
- requires ['ostruct'] #some issue with data, in absence of this the example fails because of parsing errors
example!
starting_code <<-DATA
def check_sign(number)
@@ -37,7 +36,6 @@ title - The if..else construct
!enchant 3050
short_name :if_elsif
- requires ['ostruct'] #some issue with data, in absence of this the example fails because of parsing errors
exercise!
starting_code <<-DATA
def check_sign(number)
@@ -105,14 +103,12 @@ title - The if..else construct
!enchant 3054
short_name :comparison_example
- requires ['ostruct'] #some issue with data, in absence of this the example fails because of parsing errors
- exercise!
- starting_code (<<-DATA
+ example!
+ starting_code <<-DATA
if 0
puts "Hey, 0 is considered to be a truth in Ruby"
end
DATA
- )
!release
View
2 docs/Control Structures/03 - Loops in Ruby.haml
@@ -31,7 +31,6 @@ title - Loops in Ruby
!enchant 3320
short_name :infinite_loop_exercise
exercise!
- requires []
starting_code <<-DATA
# write a loop around this statement.
# remember to break when monk achieves Nirvana
@@ -98,7 +97,6 @@ end
!enchant 3321
exercise!
- requires []
short_name :basic_n_times_loop_exercise
starting_code <<-DATA
# add a loop inside this method to ring the bell 'n' times
View
9 docs/Hashes in Ruby /01 - Introduction to Ruby Hashes.haml
@@ -27,13 +27,13 @@ title - Introduction to Ruby Hashes
!enchant 3336
exercise!
- requires []
short_name :hash_simple_exercise
starting_code <<-DATA
+
+
+
restaurant_menu = # Fill the hash here.
-
-
-
+
DATA
code_wrapper <<-DATA
@@ -76,7 +76,6 @@ restaurant_menu = {
!enchant 3339
exercise!
- requires []
short_name :hash_retrieval_exercise
starting_code <<-DATA
View
1 docs/Problems/02 - String length finder.haml
@@ -12,7 +12,6 @@ title - Find length of strings in an array
!enchant 581
short_name :length_finder
- requires ['ostruct']
exercise!
starting_code <<-DATA
def length_finder(input_array)

0 comments on commit 99543cf

Please sign in to comment.
Something went wrong with that request. Please try again.