--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Removes given types of application components from load path Merb uses for autoloading.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*args<Array(Symbol)>:"
    body: component(s) names, for instance, :views, :models
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::P 
  body: Using this combined with Merb::GlobalHelpers.push_path you can make your Merb application use legacy Rails application components.
- !ruby/struct:SM::Flow::P 
  body: Merb.root = &quot;path/to/legacy/app/root&quot; Merb.remove_paths(:mailer) Merb.push_path(:mailer, Merb.root / &quot;app&quot; / &quot;models&quot;, &quot;**/*.rb&quot;)
- !ruby/struct:SM::Flow::P 
  body: Will make Merb use app/models for mailers just like Ruby on Rails does.
- !ruby/struct:SM::Flow::P 
  body: ":api: public"
full_name: Merb::remove_paths
is_singleton: true
name: remove_paths
params: (*args)
visibility: public
