lib/trav3/options.rb in trav3-0.4.1 vs lib/trav3/options.rb in trav3-0.5.0

- old
+ new

@@ -1,8 +1,9 @@ # frozen_string_literal: true module Trav3 + # A url options builder class for outgoing requests. class Options def initialize(args = {}) build(args) end @@ -109,10 +110,10 @@ # @return [Hash] hash of the `Options` def to_h @opts.map(&split).to_h end - private + private # @private def split ->(entry) { entry.split('=') } end