Module: Minitrain

Defined in:
lib/minitrain.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



6
7
8
9
10
11
# File 'lib/minitrain.rb', line 6

def self.included(klass)
  klass.class_eval do
    extend ClassMethods
    include InstanceMethods
  end
end