Sha256: af6f7ae57a044d47ebe6dda50553449a748fa75881f7236c90a7b0a3618c9bb8
Contents?: true
Size: 292 Bytes
Versions: 6
Compression:
Stored size: 292 Bytes
Contents
module Dox module Formatters class Plain < Dox::Formatters::Base def format return body if body.encoding == Encoding::UTF_8 body.encode(Encoding::UTF_8) rescue Encoding::UndefinedConversionError "#{body.encoding} stream" end end end end
Version data entries
6 entries across 6 versions & 1 rubygems