module Twitter
class Arguments < Array
attr_reader :options
# Initializes a new Arguments object
#
# @return [Twitter::Arguments]
def initialize(args)
@options = args.last.is_a?(::Hash) ? args.pop : {}
super(args.flatten)
end