lib/zeamays/cob.rb in zeamays-0.0.5 vs lib/zeamays/cob.rb in zeamays-0.0.6
- old
+ new
@@ -7,7 +7,11 @@
class Cob
extend Gene
include Growth
include Freezing
extend Defreezing
+
+ def [](index)
+ @rows[index]
+ end
end
end