Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/cmessages/overloads.rb

Overview

Docs to follow

Instance Method Summary collapse

Instance Method Details

#error(options = {}) ⇒ Object



7
8
9
# File 'lib/cmessages/overloads.rb', line 7

def error(options = {})
    Cmessages.new(options).error(self)
end

#info(options = {}) ⇒ Object



19
20
21
# File 'lib/cmessages/overloads.rb', line 19

def info(options = {})
    Cmessages.new(options).info(self)
end

#success(options = {}) ⇒ Object



15
16
17
# File 'lib/cmessages/overloads.rb', line 15

def success(options = {})
    Cmessages.new(options).success(self)
end

#warning(options = {}) ⇒ Object



11
12
13
# File 'lib/cmessages/overloads.rb', line 11

def warning(options = {})
    Cmessages.new(options).warning(self)
end