Top Level Namespace

Defined Under Namespace

Modules: Rubycord Classes: Integer, String

Instance Method Summary collapse

Instance Method Details

#not!(object) ⇒ Negated<Object>

Utility function that creates a negated object for Rubycord::Events.matches_all

Parameters:

  • object (Object)

    The object to negate

Returns:

  • (Negated<Object>)

    the object, negated, as an attribute to pass to matches_all

See Also:



124
125
126
# File 'lib/rubycord/events/generic.rb', line 124

def not!(object)
  Rubycord::Events::Negated.new(object)
end