lib/sonos/topology_node.rb in sonos-0.3.4 vs lib/sonos/topology_node.rb in sonos-0.3.5
- old
+ new
@@ -13,9 +13,9 @@
def ip
@ip ||= URI.parse(location).host
end
def device
- @device || Device::Base.detect(ip)
+ @device ||= Device::Base.detect(ip)
end
end
end