lib/zeamays/cob/freezing.rb in zeamays-0.0.5 vs lib/zeamays/cob/freezing.rb in zeamays-0.0.6
- old
+ new
@@ -5,9 +5,16 @@
@rows.collect { |row|
row.pack(self.class.package_pattern)
}.join("")
end
+ def freeze
+ pack
+ end
+ def freezed
+ pack
+ end
+
module ClassMethods
def package_pattern
gene_sequence.map { |type|
case type
when :i8 then 'C'