Class: RubyLsp::RbsRails::Logger
- Inherits:
-
Object
- Object
- RubyLsp::RbsRails::Logger
- Defined in:
- lib/ruby_lsp/rbs_rails/logger.rb
Instance Attribute Summary collapse
-
#message_queue ⇒ Object
readonly
: Thread::Queue.
Instance Method Summary collapse
- #info(message) ⇒ Object
-
#initialize(message_queue) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(message_queue) ⇒ Logger
Returns a new instance of Logger.
12 13 14 |
# File 'lib/ruby_lsp/rbs_rails/logger.rb', line 12 def initialize() #: void = end |
Instance Attribute Details
#message_queue ⇒ Object (readonly)
: Thread::Queue
9 10 11 |
# File 'lib/ruby_lsp/rbs_rails/logger.rb', line 9 def end |
Instance Method Details
#info(message) ⇒ Object
17 18 19 |
# File 'lib/ruby_lsp/rbs_rails/logger.rb', line 17 def info() #: void << Notification.("rbs_rails: #{message}") end |