Class: Startback::Support::FakeLogger
- Defined in:
- lib/startback/support/fake_logger.rb
Instance Attribute Summary collapse
-
#last_msg ⇒ Object
readonly
Returns the value of attribute last_msg.
Instance Method Summary collapse
-
#initialize(*args) ⇒ FakeLogger
constructor
A new instance of FakeLogger.
Methods inherited from Logger
Constructor Details
#initialize(*args) ⇒ FakeLogger
Returns a new instance of FakeLogger.
5 6 7 |
# File 'lib/startback/support/fake_logger.rb', line 5 def initialize(*args) @last_msg = nil end |
Instance Attribute Details
#last_msg ⇒ Object (readonly)
Returns the value of attribute last_msg.
8 9 10 |
# File 'lib/startback/support/fake_logger.rb', line 8 def last_msg @last_msg end |