Permalink
Browse files

Update Ruby Day 3e.rb

  • Loading branch information...
1 parent dab8d48 commit 80d56fcc9962aedc071f0fbe0ed826cf6d66a570 @wNeal committed May 22, 2012
Showing with 11 additions and 1 deletion.
  1. +11 −1 ruby/Day-3_challenges.rb
View
@@ -38,7 +38,6 @@ def read
end
def each
- puts 'No each method fur u'
end
attr_accessor :headers, :csv_contents
@@ -48,6 +47,17 @@ def initialize
end
end
+class CsvRow
+ attr_accessor :columns
+ def initialize columns
+ @columns = columns
+ end
+
+ def self.method_missing name, *args
+
+ end
+end
+
class RubyCsv # no inheritance! You can mix it in
include ActsAsCsv
acts_as_csv

0 comments on commit 80d56fc

Please sign in to comment.