lib/cased/sensitive/range.rb
def to_h
        {
          begin: @begin_offset,
          end: @end_offset,
        }.tap do |hash|
          hash[:label] = label if label
          hash[:identifier] = identifier if identifier
        end
      end
# Public: The human label describing what sensitive information was
# label. Username, email, date of birth, etc.
The human label describing what sensitive information was
label. Username, email, date of birth, etc.
The human label describing what sensitive information was label . Username email date of birth etc .
def to_h
        {
          begin: @begin_offset,
          end: @end_offset,
        }.tap do |hash|
          hash[:label] = label if label
          hash[:identifier] = identifier if identifier
        end
      end
def to_h { begin : @begin_offset , end : @end_offset , } . tap do | hash | hash [ :label ] = label if label hash [ :identifier ] = identifier if identifier end end
Public: The human label describing what sensitive information was
label.
Public : The human label describing what sensitive information was label .