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.
182 183 184 185 186 187 |
# File 'lib/math_ml/latex.rb', line 182 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.
180 181 182 |
# File 'lib/math_ml/latex.rb', line 180 def beginning @beginning end |
#ending ⇒ Object (readonly)
Returns the value of attribute ending.
180 181 182 |
# File 'lib/math_ml/latex.rb', line 180 def ending @ending end |
#num ⇒ Object (readonly)
Returns the value of attribute num.
180 181 182 |
# File 'lib/math_ml/latex.rb', line 180 def num @num end |
#option ⇒ Object (readonly)
Returns the value of attribute option.
180 181 182 |
# File 'lib/math_ml/latex.rb', line 180 def option @option end |