Module: JSound::TypeFromClassName

Included in:
Midi::Device, Midi::Message
Defined in:
lib/jsound/type_from_class_name.rb

Overview

Provides a default implementation of .type for the Class, based on the class name.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Add ClassMethods to the including class.



7
8
9
# File 'lib/jsound/type_from_class_name.rb', line 7

def self.included(base) 
  base.extend(ClassMethods) 
end