Exception: Tomo::Runtime::ConcurrentRubyLoadError

Inherits:
Error
  • Object
show all
Defined in:
lib/tomo/runtime/concurrent_ruby_load_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

raise_with

Methods included from Colors

enabled?

Instance Attribute Details

#versionObject

Returns the value of attribute version.



4
5
6
# File 'lib/tomo/runtime/concurrent_ruby_load_error.rb', line 4

def version
  @version
end

Instance Method Details

#to_consoleObject



6
7
8
9
10
11
# File 'lib/tomo/runtime/concurrent_ruby_load_error.rb', line 6

def to_console
  "    Running tasks on multiple hosts requires the \#{yellow('concurrent-ruby')} gem.\n    To install it, \#{install_instructions}\n  ERROR\nend\n"