Class: CetSp::Event
- Inherits:
-
Object
- Object
- CetSp::Event
- Defined in:
- lib/cetsp.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#direction ⇒ Object
readonly
Returns the value of attribute direction.
-
#place ⇒ Object
readonly
Returns the value of attribute place.
-
#since ⇒ Object
readonly
Returns the value of attribute since.
Instance Method Summary collapse
-
#initialize(options) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(options) ⇒ Event
Returns a new instance of Event.
29 30 31 32 33 |
# File 'lib/cetsp.rb', line 29 def initialize() @code = [:code] @place = [:place] @direction = [:direction] end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
27 28 29 |
# File 'lib/cetsp.rb', line 27 def code @code end |
#direction ⇒ Object (readonly)
Returns the value of attribute direction.
27 28 29 |
# File 'lib/cetsp.rb', line 27 def direction @direction end |
#place ⇒ Object (readonly)
Returns the value of attribute place.
27 28 29 |
# File 'lib/cetsp.rb', line 27 def place @place end |
#since ⇒ Object (readonly)
Returns the value of attribute since.
27 28 29 |
# File 'lib/cetsp.rb', line 27 def since @since end |