Module: Zeamays::Cob::Freezing::ClassMethods
- Defined in:
- lib/zeamays/cob/freezing.rb
Instance Method Summary collapse
Instance Method Details
#package_pattern ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/zeamays/cob/freezing.rb', line 13 def package_pattern gene_sequence.map { |type| case type when :i8 then 'C' when :i16 then 'n' when :i32 then 'N' when :integer then 'N' when :string then 'Z*' end }.join("") end |