Class: SistemKebut::Paragraph::Kutipan

Inherits:
DefPengelolaXML show all
Includes:
InnerParagraph
Defined in:
lib/sks/paragraph/dasar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from InnerParagraph

#gandakan_spacing, #kecilkan_spacing, #struktur, #ubah_ukuran

Methods inherited from DefPengelolaXML

#pembangun

Methods inherited from KebutSemalam::PengelolaXML

#build, #pembangun

Constructor Details

#initialize(k) ⇒ Kutipan

Returns a new instance of Kutipan.



100
101
102
103
104
105
106
107
108
109
110
111
# File 'lib/sks/paragraph/dasar.rb', line 100

def initialize(k)
  @mode = :normal
  @fstyle = TNR
  @fsize = 22
  @masuk = false
  @bold = false
  @italic = true
  @underline = false
  @spacing = :normal
  @align = :both
  @konten = "\"#{k}\""
end

Instance Attribute Details

#alignObject

Returns the value of attribute align.



97
98
99
# File 'lib/sks/paragraph/dasar.rb', line 97

def align
  @align
end

#boldObject

Returns the value of attribute bold.



98
99
100
# File 'lib/sks/paragraph/dasar.rb', line 98

def bold
  @bold
end

#fsizeObject

Returns the value of attribute fsize.



97
98
99
# File 'lib/sks/paragraph/dasar.rb', line 97

def fsize
  @fsize
end

#fstyleObject

Returns the value of attribute fstyle.



97
98
99
# File 'lib/sks/paragraph/dasar.rb', line 97

def fstyle
  @fstyle
end

#italicObject

Returns the value of attribute italic.



98
99
100
# File 'lib/sks/paragraph/dasar.rb', line 98

def italic
  @italic
end

#kontenObject

Returns the value of attribute konten.



97
98
99
# File 'lib/sks/paragraph/dasar.rb', line 97

def konten
  @konten
end

#masukObject

Returns the value of attribute masuk.



97
98
99
# File 'lib/sks/paragraph/dasar.rb', line 97

def masuk
  @masuk
end

#modeObject

Returns the value of attribute mode.



99
100
101
# File 'lib/sks/paragraph/dasar.rb', line 99

def mode
  @mode
end

#spacingObject

Returns the value of attribute spacing.



98
99
100
# File 'lib/sks/paragraph/dasar.rb', line 98

def spacing
  @spacing
end

#underlineObject

Returns the value of attribute underline.



98
99
100
# File 'lib/sks/paragraph/dasar.rb', line 98

def underline
  @underline
end