Class: OBIX::Types::Type

Inherits:
Object
  • Object
show all
Defined in:
lib/obix/types/type.rb

Direct Known Subclasses

Boolean, Date, Duration, Float, Integer, String, Time, URI

Instance Method Summary collapse

Constructor Details

#initialize(element) ⇒ Type

Initialize the Type.

element - An Objects::Object instance or derivative thereof describing

the element that this type belongs to.


10
11
12
# File 'lib/obix/types/type.rb', line 10

def initialize element
  @element = element
end