Class: Any

Inherits:
Result show all
Defined in:
lib/Olib/pattern_matching/result.rb

Instance Attribute Summary

Attributes inherited from Result

#val

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Result

#==, _compare_object_shape, _compare_values, _match_class, _match_result, compare, included, #initialize, of, #to_json, #to_proc

Constructor Details

This class inherits a constructor from Result

Class Method Details

.===(*args) ⇒ Object



88
89
90
# File 'lib/Olib/pattern_matching/result.rb', line 88

def self.===(*args)
  true
end

Instance Method Details

#===(other) ⇒ Object



92
93
94
# File 'lib/Olib/pattern_matching/result.rb', line 92

def ===(other)
  true
end