module ShouldaRouting::Namespaces::Method

Public Instance Methods

namespace(*args, &block) click to toggle source

This method provides a simple way to support namespaces.

# File lib/shoulda_routing/namespaces/method.rb, line 6
def namespace *args, &block
  Namespaces::Base.new(*args, &block).test!
end