Sha256: 443c15efeeff3f8e8c4c4d452a95df0f64ede147845dcac40413f2aede81b416

Contents?: true

Size: 178 Bytes

Versions: 13

Compression:

Stored size: 178 Bytes

Contents

class Mercury
  class Utils
    def self.unsplat(args)
      if args.size == 1 and args.first.is_a?(Array)
        args.first
      else
        args
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mercury_amqp-0.10.0 lib/mercury/utils.rb
mercury_amqp-0.9.0 lib/mercury/utils.rb
mercury_amqp-0.8.0 lib/mercury/utils.rb
mercury_amqp-0.7.0 lib/mercury/utils.rb
mercury_amqp-0.6.1 lib/mercury/utils.rb
mercury_amqp-0.6.0 lib/mercury/utils.rb
mercury_amqp-0.5.0 lib/mercury/utils.rb
mercury_amqp-0.4.0 lib/mercury/utils.rb
mercury_amqp-0.3.0 lib/mercury/utils.rb
mercury_amqp-0.2.0 lib/mercury/utils.rb
mercury_amqp-0.1.9 lib/mercury/utils.rb
mercury_amqp-0.1.7 lib/mercury/utils.rb
mercury_amqp-0.1.6 lib/mercury/utils.rb