class Ferrum::NodeMovingError
Public Class Methods
new(node, prev, current)
click to toggle source
Calls superclass method
# File lib/ferrum.rb, line 61 def initialize(node, prev, current) @node, @prev, @current = node, prev, current super(message) end
Public Instance Methods
message()
click to toggle source
# File lib/ferrum.rb, line 66 def message "#{@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