Sha256: ccc24e6cc803ea95c27dd38e91a43a7f3ac39a9868fdd4bf0e7cfeb14b4216bd
Contents?: true
Size: 300 Bytes
Versions: 22
Compression:
Stored size: 300 Bytes
Contents
# frozen_string_literal: true require 'forwardable' require 'set' Array.class_eval do # @return [String] def to_or_sentence to_sentence(two_words_connector: ' or ', last_word_connector: ', or ') end end Set.class_eval do extend Forwardable def_delegators :to_a, :to_or_sentence end
Version data entries
22 entries across 22 versions & 2 rubygems