Class: SistemKebut::Paragraph::Kosong
- Inherits:
-
DefPengelolaXML
- Object
- KebutSemalam::PengelolaXML
- DefPengelolaXML
- SistemKebut::Paragraph::Kosong
- Includes:
- InnerParagraph
- Defined in:
- lib/sks/paragraph/dasar.rb
Direct Known Subclasses
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 ⇒ Kosong
constructor
A new instance of Kosong.
Methods included from InnerParagraph
#gandakan_spacing, #kecilkan_spacing, #struktur, #ubah_ukuran
Methods inherited from DefPengelolaXML
Methods inherited from KebutSemalam::PengelolaXML
Constructor Details
#initialize ⇒ Kosong
Returns a new instance of Kosong.
49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/sks/paragraph/dasar.rb', line 49 def initialize @mode = :normal @fstyle = TNR @fsize = 20 @masuk = false @bold = false @italic = false @underline = false @spacing = :normal @align = :both @konten = String.new end |
Instance Attribute Details
#align ⇒ Object
Returns the value of attribute align.
46 47 48 |
# File 'lib/sks/paragraph/dasar.rb', line 46 def align @align end |
#bold ⇒ Object
Returns the value of attribute bold.
47 48 49 |
# File 'lib/sks/paragraph/dasar.rb', line 47 def bold @bold end |
#fsize ⇒ Object
Returns the value of attribute fsize.
46 47 48 |
# File 'lib/sks/paragraph/dasar.rb', line 46 def fsize @fsize end |
#fstyle ⇒ Object
Returns the value of attribute fstyle.
46 47 48 |
# File 'lib/sks/paragraph/dasar.rb', line 46 def fstyle @fstyle end |
#italic ⇒ Object
Returns the value of attribute italic.
47 48 49 |
# File 'lib/sks/paragraph/dasar.rb', line 47 def italic @italic end |
#konten ⇒ Object
Returns the value of attribute konten.
46 47 48 |
# File 'lib/sks/paragraph/dasar.rb', line 46 def konten @konten end |
#masuk ⇒ Object
Returns the value of attribute masuk.
46 47 48 |
# File 'lib/sks/paragraph/dasar.rb', line 46 def masuk @masuk end |
#mode ⇒ Object
Returns the value of attribute mode.
48 49 50 |
# File 'lib/sks/paragraph/dasar.rb', line 48 def mode @mode end |
#spacing ⇒ Object
Returns the value of attribute spacing.
47 48 49 |
# File 'lib/sks/paragraph/dasar.rb', line 47 def spacing @spacing end |
#underline ⇒ Object
Returns the value of attribute underline.
47 48 49 |
# File 'lib/sks/paragraph/dasar.rb', line 47 def underline @underline end |