Fix typos
git-svn-id: file:///home/svn/framework3/trunk@10584 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
2e25245e9b
commit
1afba58f94
|
@ -6,9 +6,9 @@ class RetinaXMLStreamParser
|
|||
|
||||
attr_accessor :on_found_host
|
||||
|
||||
def initialize(callback = nil)
|
||||
def initialize(on_found_host = nil)
|
||||
reset_state
|
||||
self.callback = callback if callback
|
||||
self.on_found_host = on_found_host if on_found_host
|
||||
end
|
||||
|
||||
def reset_state
|
||||
|
|
Loading…
Reference in New Issue