Class: Cordis::Events::Hook

Inherits:
Struct
  • Object
show all
Defined in:
lib/cordis/events.rb

Instance Attribute Summary collapse

Instance Attribute Details

#callbackObject

Returns the value of attribute callback

Returns:

  • (Object)

    the current value of callback



10
11
12
# File 'lib/cordis/events.rb', line 10

def callback
  @callback
end

#ctxObject

Returns the value of attribute ctx

Returns:

  • (Object)

    the current value of ctx



10
11
12
# File 'lib/cordis/events.rb', line 10

def ctx
  @ctx
end