lib/twitter/arguments.rb in twitter-5.3.0 vs lib/twitter/arguments.rb in twitter-5.3.1
- old
+ new
@@ -5,9 +5,9 @@
# Initializes a new Arguments object
#
# @return [Twitter::Arguments]
def initialize(args)
@options = args.last.is_a?(::Hash) ? args.pop : {}
- super(args)
+ super(args.flatten)
end
end
end