Class: On::Callback

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

Overview

Represents a callback called with its name and args.

Instance Attribute Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



58
59
60
# File 'lib/on.rb', line 58

def args
  @args
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



58
59
60
# File 'lib/on.rb', line 58

def name
  @name
end