Class: SistemKebut::Paragraph::Kutipan
- Inherits:
-
DefPengelolaXML
- Object
- KebutSemalam::PengelolaXML
- DefPengelolaXML
- SistemKebut::Paragraph::Kutipan
- 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) ⇒ Kutipan
constructor
A new instance of Kutipan.
Methods included from InnerParagraph
#gandakan_spacing, #kecilkan_spacing, #struktur, #ubah_ukuran
Methods inherited from DefPengelolaXML
Methods inherited from KebutSemalam::PengelolaXML
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
#align ⇒ Object
Returns the value of attribute align.
97 98 99 |
# File 'lib/sks/paragraph/dasar.rb', line 97 def align @align end |
#bold ⇒ Object
Returns the value of attribute bold.
98 99 100 |
# File 'lib/sks/paragraph/dasar.rb', line 98 def bold @bold end |
#fsize ⇒ Object
Returns the value of attribute fsize.
97 98 99 |
# File 'lib/sks/paragraph/dasar.rb', line 97 def fsize @fsize end |
#fstyle ⇒ Object
Returns the value of attribute fstyle.
97 98 99 |
# File 'lib/sks/paragraph/dasar.rb', line 97 def fstyle @fstyle end |
#italic ⇒ Object
Returns the value of attribute italic.
98 99 100 |
# File 'lib/sks/paragraph/dasar.rb', line 98 def italic @italic end |
#konten ⇒ Object
Returns the value of attribute konten.
97 98 99 |
# File 'lib/sks/paragraph/dasar.rb', line 97 def konten @konten end |
#masuk ⇒ Object
Returns the value of attribute masuk.
97 98 99 |
# File 'lib/sks/paragraph/dasar.rb', line 97 def masuk @masuk end |
#mode ⇒ Object
Returns the value of attribute mode.
99 100 101 |
# File 'lib/sks/paragraph/dasar.rb', line 99 def mode @mode end |
#spacing ⇒ Object
Returns the value of attribute spacing.
98 99 100 |
# File 'lib/sks/paragraph/dasar.rb', line 98 def spacing @spacing end |
#underline ⇒ Object
Returns the value of attribute underline.
98 99 100 |
# File 'lib/sks/paragraph/dasar.rb', line 98 def underline @underline end |