lib/twitter/base.rb in twitter-4.1.0 vs lib/twitter/base.rb in twitter-4.1.1

- old
+ new

@@ -6,13 +6,10 @@ attr_reader :attrs alias to_hash attrs # Define methods that retrieve the value from an initialized instance variable Hash, using the attribute as a key # - # @overload self.attr_reader(attr) - # @param attr [Symbol] - # @overload self.attr_reader(attrs) - # @param attrs [Array<Symbol>] + # @param attrs [Array, Set, Symbol] def self.attr_reader(*attrs) attrs.each do |attribute| class_eval do define_method attribute do @attrs[attribute.to_sym]