Exception: Uttk::Logger::DuplicatedPath
- Defined in:
- lib/uttk/logger.rb
Instance Method Summary collapse
-
#initialize(backend_path, path) ⇒ DuplicatedPath
constructor
A new instance of DuplicatedPath.
- #to_s ⇒ Object
Methods inherited from Exception
Constructor Details
#initialize(backend_path, path) ⇒ DuplicatedPath
Returns a new instance of DuplicatedPath.
30 31 32 33 |
# File 'lib/uttk/logger.rb', line 30 def initialize ( backend_path, path ) @backend_path = backend_path @path = path end |
Instance Method Details
#to_s ⇒ Object
34 35 36 37 38 |
# File 'lib/uttk/logger.rb', line 34 def to_s path, bpath = @path.to_s, @backend_path.to_s path += ' vs ' + bpath if path != bpath "The path notification flow contains two leaves at the same path (#{path})" end |