Class: SPQR::EventArgMeta

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*a) ⇒ EventArgMeta

Returns a new instance of EventArgMeta.



25
26
27
28
# File 'lib/spqr/event.rb', line 25

def initialize(*a)
  super *a
  self.options = ((!self.options && {}) || self.options.dup)
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



24
25
26
# File 'lib/spqr/event.rb', line 24

def description
  @description
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



24
25
26
# File 'lib/spqr/event.rb', line 24

def kind
  @kind
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



24
25
26
# File 'lib/spqr/event.rb', line 24

def name
  @name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



24
25
26
# File 'lib/spqr/event.rb', line 24

def options
  @options
end