Class: SistemKebut::Media::Gambar
- Inherits:
-
DefPengelolaXML
- Object
- KebutSemalam::PengelolaXML
- DefPengelolaXML
- SistemKebut::Media::Gambar
- Defined in:
- lib/sks/media/dasar.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#sumber ⇒ Object
(also: #lokasi)
readonly
Returns the value of attribute sumber.
Instance Method Summary collapse
-
#initialize(i, s) ⇒ Gambar
constructor
A new instance of Gambar.
Methods inherited from DefPengelolaXML
Methods inherited from KebutSemalam::PengelolaXML
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
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/sks/media/dasar.rb', line 5 def id @id end |
#sumber ⇒ Object (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 |