Class: Nis::Struct::NodeExperience

Inherits:
Object
  • Object
show all
Includes:
Util::Assignable
Defined in:
lib/nis/struct/node_experience.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_hash, #to_json

Instance Attribute Details

#fInteger

Returns the current value of f

Returns:

  • (Integer)

    the current value of f


5
6
7
# File 'lib/nis/struct/node_experience.rb', line 5

def f
  @f
end

#sInteger

Returns the current value of s

Returns:

  • (Integer)

    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