Exception: Ferrum::NodeIsMovingError
- Defined in:
- lib/ferrum.rb
Instance Method Summary collapse
-
#initialize(node, prev, current) ⇒ NodeIsMovingError
constructor
A new instance of NodeIsMovingError.
- #message ⇒ Object
Constructor Details
#initialize(node, prev, current) ⇒ NodeIsMovingError
Returns a new instance of NodeIsMovingError.
52 53 54 55 |
# File 'lib/ferrum.rb', line 52 def initialize(node, prev, current) @node, @prev, @current = node, prev, current super() end |
Instance Method Details
#message ⇒ Object
57 58 59 60 61 |
# File 'lib/ferrum.rb', line 57 def "#{@node.inspect} that you're trying to click is moving, hence " \ "we cannot. Previosuly it was at #{@prev.inspect} but now at " \ "#{@current.inspect}." end |