Class: Shamu::Features::Conditions::NotMatching

Inherits:
Matching show all
Defined in:
lib/shamu/features/conditions/not_matching.rb

Overview

Match if another feature is also enabled.

Instance Method Summary collapse

Methods inherited from Condition

create, #initialize

Constructor Details

This class inherits a constructor from Shamu::Features::Conditions::Condition

Instance Method Details

#match?(context) ⇒ Boolean

Returns true if the condition matches the given environment.

Parameters:

  • context (Context)

    the feature evaluation context.

Returns:

  • (Boolean)

    true if the condition matches the given environment.



9
10
11
# File 'lib/shamu/features/conditions/not_matching.rb', line 9

def match?( context )
  !super
end