Sha256: adcacbd941018c0263d47f6456f83b0ec39145086f7fb588e27bb1b750399245
Contents?: true
Size: 268 Bytes
Versions: 4
Compression:
Stored size: 268 Bytes
Contents
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) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
twitter-5.1.1 | lib/twitter/arguments.rb |
twitter-5.1.0 | lib/twitter/arguments.rb |
twitter-5.0.1 | lib/twitter/arguments.rb |
twitter-5.0.0 | lib/twitter/arguments.rb |