lib/lc_discovery/extracts.rb
def assigned(code)
    types = []
    constants.each do |type|
      types << type if code & const_get(type) > 0 rescue 0
    end
    types
  end
# Decode the extract number (integer) and return array of matching
# data type as constant strings
Decode the extract number (integer) and return array of matching
data type as constant strings
Decode the extract number ( integer ) and return array of matching data type as constant strings
def assigned(code)
    types = []
    constants.each do |type|
      types << type if code & const_get(type) > 0 rescue 0
    end
    types
  end
def assigned ( code ) types = [ ] constants . each do | type | types << type if code & const_get ( type ) > 0 rescue 0 end types end
Decode the extract number (integer) and return array of matching
data type as constant strings
Decode the extract number ( integer ) and return array of matching data type as constant strings
code