Class: Epuber::UserInterface
- Inherits:
-
Delegator
- Object
- Delegator
- Epuber::UserInterface
- Defined in:
- lib/epuber/user_interface.rb
Instance Attribute Summary collapse
- #logger ⇒ Logger::AbstractLogger readonly
Instance Method Summary collapse
- #__getobj__ ⇒ Object
- #__setobj__(obj) ⇒ Object
-
#initialize ⇒ UserInterface
constructor
A new instance of UserInterface.
Constructor Details
#initialize ⇒ UserInterface
Returns a new instance of UserInterface.
13 14 15 16 17 |
# File 'lib/epuber/user_interface.rb', line 13 def initialize super(nil) @logger = Logger::ConsoleLogger.new end |
Instance Attribute Details
#logger ⇒ Logger::AbstractLogger (readonly)
11 12 13 |
# File 'lib/epuber/user_interface.rb', line 11 def logger @logger end |
Instance Method Details
#__getobj__ ⇒ Object
19 20 21 |
# File 'lib/epuber/user_interface.rb', line 19 def __getobj__ @logger end |
#__setobj__(obj) ⇒ Object
23 24 25 |
# File 'lib/epuber/user_interface.rb', line 23 def __setobj__(obj) @logger = obj end |