Sha256: bb4fc5625bb11fe99d40a4591e50d21610c469a9a6acbc034a8f033474257697
Contents?: true
Size: 388 Bytes
Versions: 5
Compression:
Stored size: 388 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) labels.first.to_h { |k, v| [k.to_s, v.to_s] } else labels.to_h { |v| [v.to_s, v.to_s] } end end end end end
Version data entries
5 entries across 5 versions & 2 rubygems