Class: MuchRails::RailsRoutes

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/much-rails/rails_routes.rb

Overview

MuchRails::RailsRoutes is a Singleton object that provides Rails’ URL helpers and path/URL generation.

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block) ⇒ Object

These methods support stubbing #method_missing in tests but have no real effect or behavior.



16
17
18
# File 'lib/much-rails/rails_routes.rb', line 16

def method_missing(name, *args, &block)
  super
end

Instance Method Details

#respond_to_missing?(*args) ⇒ Boolean

Returns:



20
21
22
# File 'lib/much-rails/rails_routes.rb', line 20

def respond_to_missing?(*args)
  super
end