Sha256: 82bb61069e26bb0770feb1beb880250b2455588dfa4d5e89be4b1f3318980e64

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

require 'ox'
require_relative 'xml_to_class'

xml_fragment = File.read("#{Dir.pwd}/demo/templates/styles/reportTitle")
root_class = XmlToClass.new.parse(Ox.parse(xml_fragment))

root_class.write_rb('goldendocx/styles')
root_class.write_spec('goldendocx/styles')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
goldendocx-0.3.0 demo/templates/generate_codes.rb
goldendocx-0.2.3 demo/templates/generate_codes.rb