Class: SistemKebut::Media::Gambar

Inherits:
DefPengelolaXML show all
Defined in:
lib/sks/media/dasar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DefPengelolaXML

#pembangun

Methods inherited from KebutSemalam::PengelolaXML

#build, #pembangun

Constructor Details

#initialize(i, s) ⇒ Gambar

Returns a new instance of Gambar.



6
7
8
9
# File 'lib/sks/media/dasar.rb', line 6

def initialize(i, s)
  @id = i
  @sumber = s
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/sks/media/dasar.rb', line 5

def id
  @id
end

#sumberObject (readonly) Also known as: lokasi

Returns the value of attribute sumber.



5
6
7
# File 'lib/sks/media/dasar.rb', line 5

def sumber
  @sumber
end