Class: Camayoc::StatEvent
- Inherits:
-
Object
- Object
- Camayoc::StatEvent
- Defined in:
- lib/camayoc/stat_event.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#source ⇒ Object
Returns the value of attribute source.
-
#stat ⇒ Object
Returns the value of attribute stat.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(type, source, stat, value, options = {}) ⇒ StatEvent
constructor
- Constructor *
type
- Symbol of stat type: count, timing, or generic *
source
- Source of stat *
stat
- Name of stat *
value
- Value of stat *
options
-
Optionals options.
- Value of stat *
- Name of stat *
- Source of stat *
- Symbol of stat type: count, timing, or generic *
- Constructor *
- #ns_stat ⇒ Object
Constructor Details
#initialize(type, source, stat, value, options = {}) ⇒ StatEvent
Constructor
type
-
Symbol of stat type: count, timing, or generic
source
-
Source of stat
stat
-
Name of stat
value
-
Value of stat
options
-
Optionals options
12 13 14 15 16 17 18 |
# File 'lib/camayoc/stat_event.rb', line 12 def initialize(type,source,stat,value,={}) self.type = type self.source = source self.stat = stat self.value = value self. = end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
4 5 6 |
# File 'lib/camayoc/stat_event.rb', line 4 def @options end |
#source ⇒ Object
Returns the value of attribute source.
4 5 6 |
# File 'lib/camayoc/stat_event.rb', line 4 def source @source end |
#stat ⇒ Object
Returns the value of attribute stat.
4 5 6 |
# File 'lib/camayoc/stat_event.rb', line 4 def stat @stat end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/camayoc/stat_event.rb', line 4 def type @type end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/camayoc/stat_event.rb', line 4 def value @value end |