lib/luggage/factory.rb in luggage-1.2.1 vs lib/luggage/factory.rb in luggage-1.2.2

- old
+ new

@@ -55,12 +55,12 @@ # def message(mailbox, args = {}, &block) Message.new_local(connection, mailbox, args, &block) end - def mailboxes(*args) + def mailboxes(*args, &block) array = MailboxArray.new(connection) - args.empty? ? array : array[*args] + args.empty? ? array : array[*args, &block] end def inspect "#<Luggage::Factory server: \"#{host}\">" end