module FunWith::Patterns::Loader::ObjectAPI

To simplify installing the loader pattern, loader_pattern_configure() is now going to be callable on all objects by default, and will include FunWith::Patterns::Loader

Public Instance Methods

loader_pattern_configure( *args ) click to toggle source
# File lib/fun_with/patterns/loader/object_api.rb, line 8
def loader_pattern_configure( *args )
  include FunWith::Patterns::Loader
  
  # hoping (vainly) that when the include finishes, loader_pattern_configure() is now a different method
  loader_pattern_configure( *args )
end