Sha256: af200cf42ed2d921dbeb0420b1c0d7cee0ff8b210be23fc3140e44a7cf3f7b14

Contents?: true

Size: 219 Bytes

Versions: 10

Compression:

Stored size: 219 Bytes

Contents

module Twitter
  module API
    class Arguments < Array
      attr_reader :options

      def initialize(args)
        @options = args.last.is_a?(::Hash) ? args.pop : {}
        super(args)
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
twitter-4.8.1 lib/twitter/api/arguments.rb
twitter-4.8.0 lib/twitter/api/arguments.rb
hackeroo-0.1.0 lib/hackeroo/api/arguments.rb
twitter-4.7.0 lib/twitter/api/arguments.rb
twitter-4.6.2 lib/twitter/api/arguments.rb
twitter-4.6.1 lib/twitter/api/arguments.rb
twitter-4.6.0 lib/twitter/api/arguments.rb
twitter-4.5.0 lib/twitter/api/arguments.rb
twitter-4.4.4 lib/twitter/api/arguments.rb
twitter-4.4.3 lib/twitter/api/arguments.rb