Class: Module

Inherits:
Object show all
Includes:
Attributes
Defined in:
lib/flatulent/attributes.rb,
lib/flatulent/pervasives.rb

Constant Summary

Constants included from Attributes

Attributes::VERSION

Instance Method Summary collapse

Methods included from Attributes

#attributes, version

Instance Method Details

#__pervasive__(m, *a, &b) ⇒ Object



10
11
12
# File 'lib/flatulent/pervasives.rb', line 10

def __pervasive__ m, *a, &b
  (( Module.instance_method(m) rescue Object.instance_method(m) )).bind(self).call(*a, &b)
end