Sha256: 58d96bbb815334fc176e17060263688f3d1f3507e6bab142b42ada7f17a1c1ad
Contents?: true
Size: 621 Bytes
Versions: 10
Compression:
Stored size: 621 Bytes
Contents
module System class Type # collects all the methods defined on an interface and its parents def collect_interface_methods iface_methods = [] iface_methods += self.get_interfaces.collect { |t| t.collect_interface_methods } self.get_methods + iface_methods.flatten end # collects the properties defined on an interface an its parents def collect_interface_properties iface_properties = [] iface_properties += self.get_interfaces.collect { |t| t.collect_interface_properties } self.get_properties + iface_properties.flatten end end end
Version data entries
10 entries across 10 versions & 2 rubygems