Class: Latex::RowSeparator
- Inherits:
-
Object
- Object
- Latex::RowSeparator
- Defined in:
- lib/ruby-latex.rb
Instance Method Summary collapse
- #family=(family) ⇒ Object
- #formatted ⇒ Object
-
#initialize(type) ⇒ RowSeparator
constructor
A new instance of RowSeparator.
- #row ⇒ Object
- #sizes ⇒ Object
- #styled ⇒ Object
- #to_tex(*args) ⇒ Object
Constructor Details
#initialize(type) ⇒ RowSeparator
Returns a new instance of RowSeparator.
301 302 303 |
# File 'lib/ruby-latex.rb', line 301 def initialize(type) @content = type end |
Instance Method Details
#family=(family) ⇒ Object
305 306 307 |
# File 'lib/ruby-latex.rb', line 305 def family=(family) @columns = family.columns end |
#formatted ⇒ Object
317 318 319 |
# File 'lib/ruby-latex.rb', line 317 def formatted @content end |
#row ⇒ Object
309 310 311 |
# File 'lib/ruby-latex.rb', line 309 def row nil end |
#sizes ⇒ Object
313 314 315 |
# File 'lib/ruby-latex.rb', line 313 def sizes @columns.map { |e| [e, 0] }.to_h end |
#styled ⇒ Object
321 322 323 |
# File 'lib/ruby-latex.rb', line 321 def styled @content end |
#to_tex(*args) ⇒ Object
325 326 327 |
# File 'lib/ruby-latex.rb', line 325 def to_tex(*args) @content end |