Class: MathML::LaTeX::Macro::Environment
- Inherits:
-
Object
- Object
- MathML::LaTeX::Macro::Environment
- Defined in:
- lib/math_ml/latex.rb
Instance Attribute Summary collapse
-
#beginning ⇒ Object
readonly
Returns the value of attribute beginning.
-
#ending ⇒ Object
readonly
Returns the value of attribute ending.
-
#num ⇒ Object
readonly
Returns the value of attribute num.
-
#option ⇒ Object
readonly
Returns the value of attribute option.
Instance Method Summary collapse
-
#initialize(n, b, e, o) ⇒ Environment
constructor
A new instance of Environment.
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
#beginning ⇒ Object (readonly)
Returns the value of attribute beginning.
176 177 178 |
# File 'lib/math_ml/latex.rb', line 176 def beginning @beginning end |
#ending ⇒ Object (readonly)
Returns the value of attribute ending.
176 177 178 |
# File 'lib/math_ml/latex.rb', line 176 def ending @ending end |
#num ⇒ Object (readonly)
Returns the value of attribute num.
176 177 178 |
# File 'lib/math_ml/latex.rb', line 176 def num @num end |
#option ⇒ Object (readonly)
Returns the value of attribute option.
176 177 178 |
# File 'lib/math_ml/latex.rb', line 176 def option @option end |