Class: SistemKebut::Paragraph::Judul
- Inherits:
-
DefPengelolaXML
- Object
- KebutSemalam::PengelolaXML
- DefPengelolaXML
- SistemKebut::Paragraph::Judul
- Includes:
- InnerParagraph
- Defined in:
- lib/sks/paragraph/dasar.rb
Instance Attribute Summary collapse
-
#align ⇒ Object
Returns the value of attribute align.
-
#bold ⇒ Object
Returns the value of attribute bold.
-
#fsize ⇒ Object
Returns the value of attribute fsize.
-
#fstyle ⇒ Object
Returns the value of attribute fstyle.
-
#italic ⇒ Object
Returns the value of attribute italic.
-
#konten ⇒ Object
Returns the value of attribute konten.
-
#masuk ⇒ Object
Returns the value of attribute masuk.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#spacing ⇒ Object
Returns the value of attribute spacing.
-
#underline ⇒ Object
Returns the value of attribute underline.
Instance Method Summary collapse
-
#initialize(k) ⇒ Judul
constructor
A new instance of Judul.
Methods included from InnerParagraph
#gandakan_spacing, #kecilkan_spacing, #struktur, #ubah_ukuran
Methods inherited from DefPengelolaXML
Methods inherited from KebutSemalam::PengelolaXML
Constructor Details
#initialize(k) ⇒ Judul
Returns a new instance of Judul.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/sks/paragraph/dasar.rb', line 80 def initialize(k) @mode = :normal @fstyle = TNR @fsize = 40 @masuk = false @bold = true @italic = false @underline = false @spacing = :normal @align = :center @konten = k end |
Instance Attribute Details
#align ⇒ Object
Returns the value of attribute align.
77 78 79 |
# File 'lib/sks/paragraph/dasar.rb', line 77 def align @align end |
#bold ⇒ Object
Returns the value of attribute bold.
78 79 80 |
# File 'lib/sks/paragraph/dasar.rb', line 78 def bold @bold end |
#fsize ⇒ Object
Returns the value of attribute fsize.
77 78 79 |
# File 'lib/sks/paragraph/dasar.rb', line 77 def fsize @fsize end |
#fstyle ⇒ Object
Returns the value of attribute fstyle.
77 78 79 |
# File 'lib/sks/paragraph/dasar.rb', line 77 def fstyle @fstyle end |
#italic ⇒ Object
Returns the value of attribute italic.
78 79 80 |
# File 'lib/sks/paragraph/dasar.rb', line 78 def italic @italic end |
#konten ⇒ Object
Returns the value of attribute konten.
77 78 79 |
# File 'lib/sks/paragraph/dasar.rb', line 77 def konten @konten end |
#masuk ⇒ Object
Returns the value of attribute masuk.
77 78 79 |
# File 'lib/sks/paragraph/dasar.rb', line 77 def masuk @masuk end |
#mode ⇒ Object
Returns the value of attribute mode.
79 80 81 |
# File 'lib/sks/paragraph/dasar.rb', line 79 def mode @mode end |
#spacing ⇒ Object
Returns the value of attribute spacing.
78 79 80 |
# File 'lib/sks/paragraph/dasar.rb', line 78 def spacing @spacing end |
#underline ⇒ Object
Returns the value of attribute underline.
78 79 80 |
# File 'lib/sks/paragraph/dasar.rb', line 78 def underline @underline end |