Method: Bio::Locations#initialize
- Defined in:
- lib/bio/location.rb
#initialize(position) ⇒ Locations
346 347 348 349 350 351 352 353 354 |
# File 'lib/bio/location.rb', line 346 def initialize(position) @operator = nil if position.is_a? Array @locations = position else position = gbl_cleanup(position) # preprocessing @locations = gbl_pos2loc(position) # create an Array of Bio::Location objects end end |