Module: KatakataIrb
- Defined in:
- lib/katakata_irb.rb,
lib/katakata_irb/scope.rb,
lib/katakata_irb/types.rb,
lib/katakata_irb/version.rb
Defined Under Namespace
Modules: Completor, Types Classes: BaseScope, Scope, TypeAnalyzer
Constant Summary collapse
- VERSION =
"0.2.3"
Class Attribute Summary collapse
-
.last_completion_error ⇒ Object
Returns the value of attribute last_completion_error.
-
.log_output ⇒ Object
Returns the value of attribute log_output.
Class Method Summary collapse
Class Attribute Details
.last_completion_error ⇒ Object
Returns the value of attribute last_completion_error.
9 10 11 |
# File 'lib/katakata_irb.rb', line 9 def last_completion_error @last_completion_error end |
.log_output ⇒ Object
Returns the value of attribute log_output.
9 10 11 |
# File 'lib/katakata_irb.rb', line 9 def log_output @log_output end |
Class Method Details
.log_puts ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/katakata_irb.rb', line 10 def log_puts(...) if STDOUT.tty? STDOUT.cooked { log_output&.puts(...) } else log_output&.puts(...) end end |