Method: String#group
- Defined in:
- lib/dicom/ruby_extensions.rb
#group ⇒ String
Returns the group part of the tag string: The first 4 characters.
82 83 84 |
# File 'lib/dicom/ruby_extensions.rb', line 82 def group return self[0..3] end |