Class: MathML::LaTeX::Macro::Environment

Inherits:
Object
  • Object
show all
Defined in:
lib/math_ml.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(n, b, e, o) ⇒ Environment

Returns a new instance of Environment.



430
431
432
433
434
435
# File 'lib/math_ml.rb', line 430

def initialize(n, b, e, o)
	@num = n
	@beginning = b
	@ending = e
	@option = o
end

Instance Attribute Details

#beginningObject (readonly)

Returns the value of attribute beginning.



429
430
431
# File 'lib/math_ml.rb', line 429

def beginning
  @beginning
end

#endingObject (readonly)

Returns the value of attribute ending.



429
430
431
# File 'lib/math_ml.rb', line 429

def ending
  @ending
end

#numObject (readonly)

Returns the value of attribute num.



429
430
431
# File 'lib/math_ml.rb', line 429

def num
  @num
end

#optionObject (readonly)

Returns the value of attribute option.



429
430
431
# File 'lib/math_ml.rb', line 429

def option
  @option
end