Module: AnnotID

Extended by:
Entity
Defined in:
lib/rbbt/segment/annotation.rb

Instance Method Summary collapse

Instance Method Details

#_partsObject



9
10
11
# File 'lib/rbbt/segment/annotation.rb', line 9

def _parts
  @parts ||= self.split(":")
end

#segidObject



13
14
15
# File 'lib/rbbt/segment/annotation.rb', line 13

def segid
  @segid ||= _parts[0..4] * ":"
end

#typeObject



17
18
19
# File 'lib/rbbt/segment/annotation.rb', line 17

def type
  @type ||= _parts[5]
end