Method: XSD::BaseObject#initialize
- Defined in:
- lib/xsd/base_object.rb
#initialize(options = {}) ⇒ BaseObject
Returns a new instance of BaseObject.
35 36 37 38 39 40 |
# File 'lib/xsd/base_object.rb', line 35 def initialize( = {}) = @cache = {} raise Error, "#{self.class}.new expects a hash parameter" unless .is_a?(Hash) end |