lib/inferno/terminology/loader.rb
# Chooses which filetype to save the validator as, based on the type variable passed in
Chooses which filetype to save the validator as, based on the type variable passed in
Chooses which filetype to save the validator as based on the type variable passed in
def save_to_file(codeset, filename, type)
          case type
          when :bloom
            save_bloom_to_file(codeset, name_by_type(filename, type))
          when :csv
            save_csv_to_file(codeset, name_by_type(filename, type))
          else
            raise 'Unknown Validator Type!'
          end
        end
def save_to_file ( codeset , filename , type ) case type when :bloom save_bloom_to_file ( codeset , name_by_type ( filename , type ) ) when :csv save_csv_to_file ( codeset , name_by_type ( filename , type ) ) else raise 'Unknown Validator Type!' end end
Chooses which filetype to save the validator as, based on the type variable passed in
Chooses which filetype to save the validator as based on the type variable passed in
codeset
<not_specific>
filename
<not_specific>
type
<not_specific>