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



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

def args
  @args
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end