method

append_features

Importance_0
Ruby latest stable (v2_5_5) - 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 153
    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.