Sha256: fc62c1daa3ba0a9abc0a3fd3c60f3180ed9f9e15714766f23bdc5bdf5c2935db
Contents?: true
Size: 677 Bytes
Versions: 3
Compression:
Stored size: 677 Bytes
Contents
require "expressir/express/defined_type" module Expressir module Express class TypeEnum < DefinedType attr_accessor :items_array, :items, :extends, :extends_item, :isExtensible, :allitems, :isBuiltin def initialize(options = {}) @isBuiltin = false @selectedBy = [] super(options) end private def extract_type_attributes(document) if document.class == Nokogiri::XML::NodeSet document = document.first end @items = document.attributes["items"] @items_array = items.to_s.scan(/\w+/) super(document) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
expressir-0.2.6 | lib/expressir/express/type_enum.rb |
expressir-0.2.5-x64-mingw32 | lib/expressir/express/type_enum.rb |
expressir-0.2.4-x64-mingw32 | lib/expressir/express/type_enum.rb |