Sha256: 2e5ccff5efd2b3f9c72126285e8d278154e1e32dca9069cd3097566c68b62332
Contents?: true
Size: 603 Bytes
Versions: 9
Compression:
Stored size: 603 Bytes
Contents
# frozen_string_literal: true module Arstotzka # @api private # # Common code to be used by classes module Base private # Sets the @options object # # @overload options=(options_hash={}) # @param options_hash [Hash] options # # @overload options=(options) # @param options [Arstotzka::Options] options object # # @return [Arstotzka::Options] def options=(options) @options = if options.is_a?(Hash) Arstotzka.config.options(options) else options end end end end
Version data entries
9 entries across 9 versions & 1 rubygems