Module: Ruuuby::Attribute::Includable::Notation::SetMathematics

Included in:
Array, Hash, Set
Defined in:
lib/ruuuby/module/attribute/includable/notation_set_mathematics.rb

Overview

provide additional functionality to a few specific math-operations (via specific notation/symbols) which can easily be shared across a few Classes

Class Method Summary collapse

Class Method Details

.included(kclass) ⇒ Class

ensure the instance of Class that is currently including Module(SetMathematics) will define the aliases`∋?`

Parameters:

  • kclass (Class)

Returns:

  • (Class)

    kclass



23
24
25
26
# File 'lib/ruuuby/module/attribute/includable/notation_set_mathematics.rb', line 23

def self.included(kclass)
  kclass.alias_method(: