Sha256: 524964736937c3f36f7b6860459a5abc67decdc9e9d4c983dd4198a88c04e6af

Contents?: true

Size: 219 Bytes

Versions: 5

Compression:

Stored size: 219 Bytes

Contents

module XsdReader
  class Attribute
    include Shared

    def required?
      (node.attributes['use'] && node.attributes['use'].value == 'required') ? true : false
    end
  end # class Attribute
end # module XsdReader

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xsd-reader-0.4.0 lib/xsd_reader/attribute.rb
xsd-reader-0.3.0 lib/xsd_reader/attribute.rb
xsd-reader-0.2.0 lib/xsd_reader/attribute.rb
xsd-reader-0.1.0 lib/xsd_reader/attribute.rb
xsd-reader-0.0.1 lib/xsd_reader/attribute.rb