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.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(source, stat, value, options = {}) ⇒ StatEvent
constructor
A new instance of StatEvent.
- #ns_stat ⇒ Object
Constructor Details
#initialize(source, stat, value, options = {}) ⇒ StatEvent
Returns a new instance of StatEvent.
6 7 8 9 10 11 |
# File 'lib/camayoc/stat_event.rb', line 6 def initialize(source,stat,value,={}) 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 |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/camayoc/stat_event.rb', line 4 def value @value end |