Skip to content

A helper module for seeing the light in debug console mess :D

Notifications You must be signed in to change notification settings

EhtuCom/debuga_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DebugaHelper

A Ruby gem providing debugging helpers for Rails applications.

Installation

Add this line to your application's Gemfile:

gem 'debuga_helper'

And then execute:

$ bundle install

Usage

Once installed, the helpers are automatically available in your controllers and views.

debuga(msg, title = nil, level = 'debug')

Prints a debug message with caller information.

  • msg: The message to print.
  • title: Optional title.
  • level: Option logging level ('debug', 'warning', 'notice', 'all').

debuga_shinny(title = nil, level = 'debug')

Prints a shiny title for debugging.

License

The gem is available as open source under the terms of the MIT License.

About

A helper module for seeing the light in debug console mess :D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages