Sha256: 90de1eca10be796279c27e84fc18a092000be18607af2dd249be9e513b03782c
Contents?: true
Size: 396 Bytes
Versions: 5
Compression:
Stored size: 396 Bytes
Contents
# frozen_string_literal: true require_relative 'list' module EacRubyUtils module Listable class SymbolList < ::EacRubyUtils::Listable::List protected def parse_labels(labels) if labels.first.is_a?(Hash) labels.first.to_h { |k, v| [k.to_sym, v.to_sym] } else labels.to_h { |v| [v.to_sym, v.to_sym] } end end end end end
Version data entries
5 entries across 5 versions & 2 rubygems