Class: Discordrb::Events::Negated

Inherits:
Object
  • Object
show all
Defined in:
lib/discordrb/events/generic.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ Negated

Returns a new instance of Negated.



6
# File 'lib/discordrb/events/generic.rb', line 6

def initialize(object); @object = object; end

Instance Attribute Details

#objectObject (readonly)

Returns the value of attribute object.



5
6
7
# File 'lib/discordrb/events/generic.rb', line 5

def object
  @object
end