Class: Latex::RowSeparator

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-latex.rb

Instance Method Summary collapse

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

#formattedObject


317
318
319
# File 'lib/ruby-latex.rb', line 317

def formatted
    @content
end

#rowObject


309
310
311
# File 'lib/ruby-latex.rb', line 309

def row
    nil
end

#sizesObject


313
314
315
# File 'lib/ruby-latex.rb', line 313

def sizes
    @columns.map { |e| [e, 0] }.to_h
end

#styledObject


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