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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Environment.



177
178
179
180
181
182
# File 'lib/math_ml/latex.rb', line 177

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.



176
177
178
# File 'lib/math_ml/latex.rb', line 176

def beginning
  @beginning
end

#endingObject (readonly)

Returns the value of attribute ending.



176
177
178
# File 'lib/math_ml/latex.rb', line 176

def ending
  @ending
end

#numObject (readonly)

Returns the value of attribute num.



176
177
178
# File 'lib/math_ml/latex.rb', line 176

def num
  @num
end

#optionObject (readonly)

Returns the value of attribute option.



176
177
178
# File 'lib/math_ml/latex.rb', line 176

def option
  @option
end