Module: Specdiff::Plugin::ClassMethods

Defined in:
lib/specdiff/plugin.rb

Instance Method Summary collapse

Instance Method Details

#compatible?(a, b) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/specdiff/plugin.rb', line 3

def compatible?(a, b)
  a.type == id && b.type == id
end