Remove deprecated Kernel#quietly calls

pull/165/head
Thibaut 10 years ago
parent 9d47e02cf1
commit e0556365a8

@ -68,7 +68,7 @@ module Docs
def parse_html(html)
warn "#{self.class.name} is re-parsing the document" unless ENV['RACK_ENV'] == 'test'
quietly { super }
super
end
end
end

@ -5,7 +5,7 @@ module Docs
end
def html
@html ||= quietly { document? ? parse_as_document : parse_as_fragment }
@html ||= document? ? parse_as_document : parse_as_fragment
end
private

@ -138,7 +138,7 @@ module Docs
def process_response(response)
data = {}
quietly { pipeline.call(parse(response.body), pipeline_context(response), data) }
pipeline.call(parse(response.body), pipeline_context(response), data)
data
end

Loading…
Cancel
Save