Class: SistemKebut::PembangunXML

Inherits:
Object
  • Object
show all
Defined in:
lib/xml/dasar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ PembangunXML

Returns a new instance of PembangunXML.



4
5
6
# File 'lib/xml/dasar.rb', line 4

def initialize(obj)
  @xml = obj
end

Instance Attribute Details

#sumberObject (readonly)

Returns the value of attribute sumber.



3
4
5
# File 'lib/xml/dasar.rb', line 3

def sumber
  @sumber
end

#xmlObject (readonly)

Returns the value of attribute xml.



3
4
5
# File 'lib/xml/dasar.rb', line 3

def xml
  @xml
end

Instance Method Details

#build(s) ⇒ Object



8
9
10
11
# File 'lib/xml/dasar.rb', line 8

def build(s)
  @sumber = s
  return self
end

#startObject



13
14
15
# File 'lib/xml/dasar.rb', line 13

def start
  raise 'No start here.'
end