lib/arstotzka/method_builder.rb in arstotzka-1.3.0 vs lib/arstotzka/method_builder.rb in arstotzka-1.3.1

- old
+ new

@@ -39,10 +39,10 @@ # @see https://www.rubydoc.info/gems/sinclair Sinclair class MethodBuilder < Sinclair include Base # Returns new instance of Arstotzka::MethodBuilder # - # @param attr_names [Array] list of attributes to be fetched from the hash/json + # @param attr_names [Array<Symbol>] list of attributes to be fetched from the hash/json # @param klass [Class] class to receive the methods # (using {https://www.rubydoc.info/gems/sinclair Sinclair}) # # @overload initialize(attr_names, klass, options_hash={}) # @param options_hash [Hash] hash containing extra options