Sha256: 8bcf9f673acb96dda75ab7b0545d58e81a812815411c0fe31701cb5202d17e1f
Contents?: true
Size: 203 Bytes
Versions: 1
Compression:
Stored size: 203 Bytes
Contents
module Castronaut class ExtraAttributes < Hash def to_bare_xml xml = to_xml(:skip_instruct => true, :root => 'remove-outer-tag') xml.gsub(%r{</?remove-outer-tag>}, '') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nbudin-castronaut-0.7.5 | lib/castronaut/extra_attributes.rb |