Libraries
Search…
Interface
Class: DataStructureInt.

Constants

Attributes

Method Signatures

self.instance?(obj = nil)

1
def self.instance?(obj = nil)
2
end
Copied!
Boolean method. Verifies an object is a data structure instance. Takes any argument object. Returns true in the case the argument's class is an element of the types set. Returns false otherwise.

self.type?(type = nil)

1
def self.type?(type = nil)
2
end
Copied!
Boolean method. Verifies a type is a DataStructure. Expects a class constant argument. Returns true in the case the type is an element of the types set. Returns false otherwise.
Last modified 1yr ago