Sha256: 24b9382a18da611a812acb9ccaf5e4bf8cfc0f6cbefdcb9f6c5ddfb6c2db99a3
Contents?: true
Size: 448 Bytes
Versions: 6
Compression:
Stored size: 448 Bytes
Contents
# This monkey patch is necessary because some classes have to introduce # attributes named +class+ (e.g. for airspace classes as described by # +AIXM::Component::Layer+) which clash with this core method. Other parts # such as +AIXM::Association+ need the original implementation for introspection # which is why this alias +Object#__class__+ makes it globally and consistently # available again. class Object alias_method :__class__, :class end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
aixm-1.2.1 | lib/aixm/object.rb |
aixm-1.2.0 | lib/aixm/object.rb |
aixm-1.1.0 | lib/aixm/object.rb |
aixm-1.0.0 | lib/aixm/object.rb |
aixm-0.3.11 | lib/aixm/object.rb |
aixm-0.3.10 | lib/aixm/object.rb |