Class: Steep::Subtyping::Result::Success

Inherits:
Base show all
Defined in:
lib/steep/subtyping/result.rb

Instance Attribute Summary

Attributes inherited from Base

#relation

Instance Method Summary collapse

Methods inherited from Base

#else, #failure?, #initialize, #then

Constructor Details

This class inherits a constructor from Steep::Subtyping::Result::Base

Instance Method Details

#failure_path(path = []) ⇒ Object



172
173
174
# File 'lib/steep/subtyping/result.rb', line 172

def failure_path(path = [])
  nil
end

#success?Boolean

Returns:

  • (Boolean)


168
169
170
# File 'lib/steep/subtyping/result.rb', line 168

def success?
  true
end