Module: Pa::Util::Concern

Included in:
Cmd, Directory, Path, State
Defined in:
lib/pa/util.rb

Instance Method Summary collapse

Instance Method Details

#included(base) ⇒ Object



4
5
6
7
# File 'lib/pa/util.rb', line 4

def included(base)
  base.extend const_get(:ClassMethods) if const_defined?(:ClassMethods)
  base.send :include, const_get(:InstanceMethods) if const_defined?(:InstanceMethods)
end