Method: Frodo::Schema#type_definitions
- Defined in:
- lib/frodo/schema.rb
#type_definitions ⇒ Array<String>
Returns a list of type definitions defined by the schema.
81 82 83 84 85 |
# File 'lib/frodo/schema.rb', line 81 def type_definitions @typedefs ||= .xpath('//TypeDefinition').map do |typedef| typedef.attributes['Name'].value end end |