Sha256: ce954c7438bb7381bfad1978a18c39049e426b3ed7a00744b2974ac83003ef75

Contents?: true

Size: 244 Bytes

Versions: 9

Compression:

Stored size: 244 Bytes

Contents

class LibraryWithFines

  include ROXML

  xml_name 'library'

  xml_accessor :name

  xml_accessor :fines,
               :as   => { :key => 'name', :value => 'desc' },
               :from => 'fine',
               :in   => 'policy/fines'
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
roxml-4.2.0 examples/library_with_fines.rb
roxml-4.1.1 examples/library_with_fines.rb
roxml-4.1.0 examples/library_with_fines.rb
roxml-4.0.0 examples/library_with_fines.rb
roxml-3.3.1 examples/library_with_fines.rb
roxml-3.3.0 examples/library_with_fines.rb
roxml-3.2.2 examples/library_with_fines.rb
roxml-3.2.1 examples/library_with_fines.rb
roxml-3.2.0 examples/library_with_fines.rb