Sha256: b77b9eaf68793fbf83808247d521002b7be3a684ea23e7f9a6ed5eccb2d4bed4

Contents?: true

Size: 665 Bytes

Versions: 8

Compression:

Stored size: 665 Bytes

Contents

# frozen_string_literal: true

require_relative "utils/array"
require_relative "utils/bool"
require_relative "utils/class"
require_relative "utils/hash"
require_relative "utils/method"
require_relative "utils/module"
require_relative "utils/proc"
require_relative "utils/string"
require_relative "utils/object"

module ConvenientService
  module Utils
    class << self
      ##
      # @return [Object] Can be any type.
      #
      def memoize_including_falsy_values(...)
        Object::MemoizeIncludingFalsyValues.call(...)
      end

      ##
      # @return [Boolean]
      #
      def to_bool(...)
        Bool::ToBool.call(...)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/utils.rb
convenient_service-0.19.0 lib/convenient_service/utils.rb
convenient_service-0.18.0 lib/convenient_service/utils.rb
convenient_service-0.17.0 lib/convenient_service/utils.rb
convenient_service-0.16.0 lib/convenient_service/utils.rb
convenient_service-0.15.0 lib/convenient_service/utils.rb
convenient_service-0.14.0 lib/convenient_service/utils.rb
convenient_service-0.13.0 lib/convenient_service/utils.rb