Sha256: 4f29b66b11c7b3fe27ffd17ef838c00424ff733bdf529c750d1937df35a33954

Contents?: true

Size: 189 Bytes

Versions: 2

Compression:

Stored size: 189 Bytes

Contents

module Rpub
  class XmlFile
    attr_reader :xml

    def initialize
      @xml = Builder::XmlMarkup.new :indent => 2
    end

    def to_s
      render
      xml.target!
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rpub-0.2.0 lib/rpub/xml_file.rb
rpub-0.1.0 lib/rpub/xml_file.rb