class Sekken::XS::Element

Attributes

ref[R]
type[R]

Public Class Methods

new(node, schemas, schema = {}) click to toggle source
Calls superclass method Sekken::XS::PrimaryType::new
# File lib/sekken/xs/types.rb, line 104
def initialize(node, schemas, schema = {})
  super

  @type = node['type']
  @ref  = node['ref']
end

Public Instance Methods

inline_type() click to toggle source
# File lib/sekken/xs/types.rb, line 113
def inline_type
  children.detect{|child| child.node.node_name.downcase != 'annotation' }
end