lib/mudbug.rb in mudbug-0.7.1.1 vs lib/mudbug.rb in mudbug-0.7.3.1
- old
+ new
@@ -81,10 +81,10 @@
end
attr_reader :options
attr_accessor :host
- def initialize(host, options = {})
+ def initialize(host = 'localhost', options = {})
@host = host
@options = options
accept :json, :html, :text
end