method

append_features

Importance_0
v2_4_6 - Show latest stable - 0 notes - Class: Singleton
append_features(mod) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/singleton.rb, line 154
    def append_features(mod)
      #  help out people counting on transitive mixins
      unless mod.instance_of?(Class)
        raise TypeError, "Inclusion of the OO-Singleton module in module #{mod}"
      end
      super
    end
Register or log in to add new notes.