lib/r3_plugin_toolbox/extender.rb
# convenience method to extend with multiple modules all within the same base module
convenience method to extend with multiple modules all within the same base module
convenience method to extend with multiple modules all within the same base module
def extend_from_module base_name, *module_names
        options = last_option(module_names)
        raise ArgumentError, "You must specify an options Hash as the last argument for #extend_from_module" if !options || !options.kind_of?(Hash)
        module_names.each do |name|
          extend_with get_constant(base_name, name), options
        end
      end
def extend_from_module base_name , * module_names options = last_option ( module_names ) raise ArgumentError , "You must specify an options Hash as the last argument for #extend_from_module" if ! options || ! options . kind_of? ( Hash ) module_names . each do | name | extend_with get_constant ( base_name , name ) , options end end
convenience method to extend with multiple modules all within the same base module
convenience method to extend with multiple modules all within the same base module
base_name
<not_specific>
module_names
<not_specific>