Class: Coactive::Coaction

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#coactorObject

Returns the value of attribute coactor

Returns:

  • (Object)

    the current value of coactor



4
5
6
# File 'lib/coactive/coaction.rb', line 4

def coactor
  @coactor
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/coactive/coaction.rb', line 4

def name
  @name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



4
5
6
# File 'lib/coactive/coaction.rb', line 4

def options
  @options
end

Instance Method Details

#priorityObject



5
6
7
# File 'lib/coactive/coaction.rb', line 5

def priority
  options[:priority]
end

#priority=(val) ⇒ Object



9
10
11
# File 'lib/coactive/coaction.rb', line 9

def priority=(val)
  options[:priority] = val
end