0.0
The project is in a healthy, maintained state
Provides debuga and debuga_shinny methods for logging debug messages with caller info and shiny titles.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0.8
>= 5.0
 Project Readme

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.