lib/arstotzka/reader.rb in arstotzka-1.4.0 vs lib/arstotzka/reader.rb in arstotzka-1.4.1

- old
+ new

@@ -20,12 +20,10 @@ # @param options [Arstotzka::Options] options of initialization object # # @return [Arstotzka::Reader] def initialize(options_hash = {}) self.options = options_hash - - @keys = options.keys end # Reads the value of one key in the hash # # @param hash [Hash] hash to be read @@ -79,8 +77,9 @@ end private # @private - attr_reader :keys, :options + attr_reader :options + delegate :keys, to: :options end end