Module: FileMagic::Ext

Included in:
File, String
Defined in:
lib/filemagic/ext.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary (collapse)

Class Method Details

+ (Object) included(base)



5
6
7
8
9
10
# File 'lib/filemagic/ext.rb', line 5

def self.included(base)
  base.class_eval {
    extend ClassMethods
    include InstanceMethods
  }
end