| File: | lib/Railsish/ControllerHelpers.pm |
| Coverage: | 75.0% |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Railsish::ControllerHelpers; | ||||||
| 2 | 4 4 4 | 35 12 47 | use strict; | ||||
| 3 | 4 4 4 | 41 11 43 | use warnings; | ||||
| 4 | |||||||
| 5 | 4 4 4 | 40 10 26 | use Exporter::Lite; | ||||
| 6 | our @EXPORT = qw(notice_stickie); | ||||||
| 7 | |||||||
| 8 | our @notice_stickies = (); | ||||||
| 9 | |||||||
| 10 | sub notice_stickie { | ||||||
| 11 | 0 | 0 | my ($text) = @_; | ||||
| 12 | |||||||
| 13 | 0 | push @notice_stickies, { text => $text }; | |||||
| 14 | } | ||||||
| 15 | |||||||
| 16 | 1; | ||||||