Class: LatexList
Instance Method Summary collapse
-
#initialize(arr) ⇒ LatexList
constructor
A new instance of LatexList.
- #latex ⇒ Object
Methods inherited from Latex
#*, #**, #+, #-, #-@, #/, #glue, #is, #my_json, #ne, #of, #to_ltx, #wrap
Constructor Details
#initialize(arr) ⇒ LatexList
Returns a new instance of LatexList.
212 213 214 |
# File 'lib/annlat/LaRuby.rb', line 212 def initialize(arr) @list = arr end |
Instance Method Details
#latex ⇒ Object
216 217 218 |
# File 'lib/annlat/LaRuby.rb', line 216 def latex "(" + @list.join(", ") + ")" end |