class YUI::Compressor
def streamify(stream_or_string)
def streamify(stream_or_string) if stream_or_string.respond_to?(:read) yield stream_or_string else yield StringIO.new(stream_or_string.to_s) end end
def streamify(stream_or_string) if stream_or_string.respond_to?(:read) yield stream_or_string else yield StringIO.new(stream_or_string.to_s) end end