Module: Rscratch

Defined in:
lib/rscratch.rb,
lib/rscratch/engine.rb,
lib/rscratch/version.rb,
lib/rscratch/configuration.rb,
app/models/rscratch/exception.rb,
app/models/rscratch/exception_log.rb,
app/helpers/rscratch/dashboard_helper.rb,
app/helpers/rscratch/exceptions_helper.rb,
app/helpers/rscratch/application_helper.rb,
app/controllers/rscratch/dashboard_controller.rb,
app/controllers/rscratch/exceptions_controller.rb,
app/controllers/rscratch/application_controller.rb,
lib/generators/rscratch/install/install_generator.rb

Defined Under Namespace

Modules: ApplicationHelper, DashboardHelper, ExceptionsHelper Classes: ApplicationController, Configuration, DashboardController, Engine, Exception, ExceptionLog, ExceptionsController, InstallGenerator

Constant Summary collapse

VERSION =
"0.1.5"

Class Method Summary collapse

Class Method Details

.configurationObject



9
10
11
# File 'lib/rscratch.rb', line 9

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



5
6
7
# File 'lib/rscratch.rb', line 5

def self.configure
  yield configuration
end

.log_exception(exception, request) ⇒ Object



13
14
15
# File 'lib/rscratch.rb', line 13

def self.log_exception(exception, request)
  log = Rscratch::Exception.log(exception, request)
end