Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/cmessages/overloads.rb
Overview
Docs to follow
Instance Method Summary collapse
- #error(options = {}) ⇒ Object
- #info(options = {}) ⇒ Object
- #success(options = {}) ⇒ Object
- #warning(options = {}) ⇒ Object
Instance Method Details
#error(options = {}) ⇒ Object
7 8 9 |
# File 'lib/cmessages/overloads.rb', line 7 def error( = {}) .new().error(self) end |
#info(options = {}) ⇒ Object
19 20 21 |
# File 'lib/cmessages/overloads.rb', line 19 def info( = {}) .new().info(self) end |
#success(options = {}) ⇒ Object
15 16 17 |
# File 'lib/cmessages/overloads.rb', line 15 def success( = {}) .new().success(self) end |
#warning(options = {}) ⇒ Object
11 12 13 |
# File 'lib/cmessages/overloads.rb', line 11 def warning( = {}) .new().warning(self) end |