lib/mws/orders/orders.rb in mws-orders-0.2.1 vs lib/mws/orders/orders.rb in mws-orders-0.2.2
- old
+ new
@@ -1,15 +1,15 @@
-require "mws/orders/collection"
-require "mws/orders/order"
-require "mws/orders/tokenable"
+require 'mws/orders/collection'
+require 'mws/orders/order'
+require 'mws/orders/tokenable'
module MWS
module Orders
class Orders < Collection
include Tokenable
- def each(&blk)
- xpath("Orders/Order").map { |node| yield Order.new(node) }
+ def each
+ xpath('Orders/Order').map { |node| yield Order.new(node) }
end
end
end
end