Sha256: 9f90a7b4ed0a7e50f07474df31a24c6742f0905f495eff4d59f7bce812b3ebef
Contents?: true
Size: 398 Bytes
Versions: 403
Compression:
Stored size: 398 Bytes
Contents
# frozen_string_literal: true require_relative 'list' module EacRubyUtils module Listable class StringList < ::EacRubyUtils::Listable::List protected def parse_labels(labels) if labels.first.is_a?(Hash) Hash[labels.first.map { |k, v| [k.to_s, v.to_s] }] else Hash[labels.map { |v| [v.to_s, v.to_s] }] end end end end end
Version data entries
403 entries across 403 versions & 4 rubygems