Class: Nis::Struct::Namespace

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

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

Instance Attribute Details

#fqnString

Returns the current value of fqn.

Returns:

  • (String)

    the current value of fqn



6
7
8
# File 'lib/nis/struct/namespace.rb', line 6

def fqn
  @fqn
end

#heightInteger

Returns the current value of height.

Returns:

  • (Integer)

    the current value of height



6
7
8
# File 'lib/nis/struct/namespace.rb', line 6

def height
  @height
end

#ownerString

Returns the current value of owner.

Returns:

  • (String)

    the current value of owner



6
7
8
# File 'lib/nis/struct/namespace.rb', line 6

def owner
  @owner
end

Class Method Details

.build(attrs) ⇒ Object



10
11
12
# File 'lib/nis/struct/namespace.rb', line 10

def self.build(attrs)
  new(attrs)
end