Module: RubyBadger::ApplicationHelper
- Defined in:
- app/helpers/ruby_badger/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#ruby_badger(text = Rails.env) ⇒ Object
3 4 5 6 7 8 |
# File 'app/helpers/ruby_badger/application_helper.rb', line 3 def ruby_badger(text=Rails.env) content_tag :div, :class => "corner-banner ruby-badger #{Rails.env}" do text = text.join('<br/>') if text.instance_of?(Array) text.html_safe end end |