Class: Evinrude::LogEntry
- Inherits:
-
Object
- Object
- Evinrude::LogEntry
- Defined in:
- lib/evinrude/log_entry.rb,
lib/evinrude/log_entry/null.rb,
lib/evinrude/log_entry/cluster_configuration.rb,
lib/evinrude/log_entry/state_machine_command.rb
Direct Known Subclasses
Defined Under Namespace
Classes: ClusterConfiguration, Null, StateMachineCommand
Instance Attribute Summary collapse
-
#term ⇒ Object
readonly
Returns the value of attribute term.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(term:) ⇒ LogEntry
constructor
A new instance of LogEntry.
Constructor Details
#initialize(term:) ⇒ LogEntry
Returns a new instance of LogEntry.
9 10 11 |
# File 'lib/evinrude/log_entry.rb', line 9 def initialize(term:) @term = term end |
Instance Attribute Details
#term ⇒ Object (readonly)
Returns the value of attribute term.
7 8 9 |
# File 'lib/evinrude/log_entry.rb', line 7 def term @term end |