Class: Circos::Band
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
19 20 21 |
# File 'lib/feldtruby/visualization/circos.rb', line 19 def name @name end |
Instance Method Details
#dump_to_circos_data(keyOrder = nil) ⇒ Object
20 21 22 23 |
# File 'lib/feldtruby/visualization/circos.rb', line 20 def dump_to_circos_data(keyOrder = nil) keyOrder ||= self.keys.sort (name + keyOrder.map {|key| self[key]}).join(" ") end |