Skip to content
Browse files

Checking out checkout from within NetBeans. Added, now committing.

  • Loading branch information...
1 parent 8a7717c commit 1dcf5cb6b9a58b216d7186e02a08640c46062342 Dan Chuparkoff committed Apr 26, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −6 lib/exercises/week2/w2c3_column_string_assignment.rb
View
9 lib/exercises/week2/w2c3_column_string_assignment.rb
@@ -10,10 +10,11 @@
This program was created as an exercise in the RubyLearning PORPC101-32C Course.
http://rubylearning.com
- This program illustrates the use of the .split method combined with the .each_index method.
+ This program illustrates the use of the .split method combined with the .each_index method.
=end
-# A line splitting method, parsing a string on each newline using .split and putting the result back out with line numbers.
+# A line splitting method, parsing a string on each newline using .split and putting the result back out
+# with line numbers.
def line_split (in_string)
#split the incoming string on each newline
my_string_array = in_string.split("\n")
@@ -24,7 +25,3 @@ def line_split (in_string)
end
end
-
-# Main ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-

0 comments on commit 1dcf5cb

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