Class: Construi::Console::Logger
- Inherits:
-
Object
- Object
- Construi::Console::Logger
- Defined in:
- lib/construi/console.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #debug(msg) ⇒ Object
- #debug? ⇒ Boolean
-
#initialize(name) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(name) ⇒ Logger
Returns a new instance of Logger.
37 38 39 |
# File 'lib/construi/console.rb', line 37 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
35 36 37 |
# File 'lib/construi/console.rb', line 35 def name @name end |