Module: Expectr::Interface
Defined Under Namespace
Classes: NotKillableError
Instance Method Summary collapse
-
#interact_thread ⇒ Object
Public: Return a Thread which does nothing, representing an interface with no functional interact environment available.
-
#prepare_interact_interface ⇒ Object
Public: Return an empty Hash representing a case where no action needed to be taken in order to prepare the environment for interact mode.
Instance Method Details
#interact_thread ⇒ Object
Public: Return a Thread which does nothing, representing an interface with no functional interact environment available.
Returns a Thread.
7 8 9 |
# File 'lib/expectr/interface.rb', line 7 def interact_thread Thread.new { } end |
#prepare_interact_interface ⇒ Object
Public: Return an empty Hash representing a case where no action needed to be taken in order to prepare the environment for interact mode.
Returns an empty Hash.
15 16 17 |
# File 'lib/expectr/interface.rb', line 15 def prepare_interact_interface {} end |