Method: Eapi.extended

Defined in:
lib/eapi.rb

.extended(mod) ⇒ Object



33
34
35
36
37
38
39
40
41
# File 'lib/eapi.rb', line 33

def self.extended(mod)
  mod.class_eval <<-CODE
    Common = Eapi::Common
    Item = Eapi::Item
    List = Eapi::List
    Children = Eapi::Children
  CODE
  Eapi.add_method_missing mod
end