Class: Nis::Struct::NodeExperience
- Inherits:
-
Object
- Object
- Nis::Struct::NodeExperience
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/node_experience.rb
Overview
Instance Attribute Summary collapse
-
#f ⇒ Integer
The current value of f.
-
#s ⇒ Integer
The current value of s.
Class Method Summary collapse
Methods included from Util::Assignable
#[], #initialize, #to_hash, #to_json
Instance Attribute Details
#f ⇒ Integer
Returns the current value of f.
5 6 7 |
# File 'lib/nis/struct/node_experience.rb', line 5 def f @f end |
#s ⇒ Integer
Returns the current value of s.
5 6 7 |
# File 'lib/nis/struct/node_experience.rb', line 5 def s @s end |
Class Method Details
.build(attrs) ⇒ Object
9 10 11 |
# File 'lib/nis/struct/node_experience.rb', line 9 def self.build(attrs) new(attrs) end |