lib/lc_discovery/extracts.rb
# returns a formatted array of strings with integer and data type. e.g.
# * 0 -- PROJECT
# * 1 -- WELL
# * 2 -- SURVEY
# * 3 -- FORMATION
# * 4 -- DIGITAL_CURVES
# * etc...
# The integers are used in command-line selections.
returns a formatted array of strings with integer and data type.
returns a formatted array of strings with integer and data type .
def data_types_for_cli
    types = []
    constants.each_with_index do |type, i|
      types << format("%4s -- %-20s", i, type)
    end
    types
  end
def data_types_for_cli types = [ ] constants . each_with_index do | type , i | types << format ( "%4s -- %-20s" , i , type ) end types end
returns a formatted array of strings with integer and data type.
returns a formatted array of strings with integer and data type .