Module: Rubeus::Awt::Nestable

Defined in:
lib/rubeus/awt/nestable.rb

Defined Under Namespace

Modules: ClassMethods Classes: Context

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/rubeus/awt/nestable.rb', line 3

def self.included(klass)
  klass.extend(ClassMethods)
  klass.instance_eval do
    alias :new_without_nestable :new
    alias :new :new_with_nestable
  end
end