src/Rule.php
public function apply( $context ) {
		if ( ! $context instanceof RContext ) {
			$context = new Context( $context );
		}

		return $this->evaluate( $context );
	}
public function apply( $context ) {
		if ( ! $context instanceof RContext ) {
			$context = new Context( $context );
		}

		return $this->evaluate( $context );
	}
public function apply ( $ context ) { if ( ! $ context instanceof RContext ) { $ context = new Context ( $ context ) ; } return $ this -> evaluate ( $ context ) ; }
Evaluate the Rule with the given Context.

@param  \Ruler\Context|array $context Context with which to evaluate this Rule.
@return boolean
Evaluate the Rule with the given Context .