lib/yodeler/endpoint.rb in yodeler-0.1.1 vs lib/yodeler/endpoint.rb in yodeler-0.1.2
- old
+ new
@@ -26,10 +26,8 @@
@adapter = Yodeler.registered_adapters(name).new
yield(@adapter) if block_given?
@adapter
end
- def adapter
- @adapter
- end
+ attr_reader :adapter
end
end