Class: SistemKebut::XML::LapisAdministrasi

Inherits:
Object
  • Object
show all
Includes:
Peralatan::RemoteSistem
Defined in:
lib/xml/builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Peralatan::RemoteSistem

#_t

Constructor Details

#initialize(lks, obj) ⇒ LapisAdministrasi

Returns a new instance of LapisAdministrasi.



35
36
37
38
# File 'lib/xml/builder.rb', line 35

def initialize(lks, obj)
  @lokasi = terjemah(lks)
  @struktur = obj
end

Instance Attribute Details

#lokasiObject (readonly)

Returns the value of attribute lokasi.



33
34
35
# File 'lib/xml/builder.rb', line 33

def lokasi
  @lokasi
end

#strukturObject (readonly)

Returns the value of attribute struktur.



33
34
35
# File 'lib/xml/builder.rb', line 33

def struktur
  @struktur
end

Instance Method Details

#catat_arsipObject



40
41
42
43
# File 'lib/xml/builder.rb', line 40

def catat_arsip
  return nil unless inner_catat
  return self
end