Class: Plurimath::Math::Function::Mbox
  
  
  
  Instance Attribute Summary
  
  
  #parameter_one
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  #==, #class_name, #initialize, #to_asciimath
  
  
  
  
  
  
  
  
  Methods inherited from Core
  #class_name, #empty_tag, #insert_t_tag, #nary_attr_value, #omml_parameter, #tag_name, #validate_function_formula
  
    Instance Method Details
    
      
  
  
    #to_html  ⇒ Object 
  
  
  
  
    
      
19
20
21 
     | 
    
      # File 'lib/plurimath/math/function/mbox.rb', line 19
def to_html
  parameter_one&.to_html
end 
     | 
  
 
    
      
  
  
    #to_latex  ⇒ Object 
  
  
  
  
    
      
14
15
16
17 
     | 
    
      # File 'lib/plurimath/math/function/mbox.rb', line 14
def to_latex
  first_value = parameter_one&.to_latex
  "\\mbox{#{first_value}}"
end
     | 
  
 
    
      
  
  
    #to_mathml_without_math_tag  ⇒ Object 
  
  
  
  
    
      
8
9
10
11
12 
     | 
    
      # File 'lib/plurimath/math/function/mbox.rb', line 8
def to_mathml_without_math_tag
  text = Utility.ox_element("mtext")
  text << (parameter_one.to_mathml_without_math_tag) if parameter_one
  text
end
     | 
  
 
    
      
  
  
    #to_omml_without_math_tag  ⇒ Object 
  
  
  
  
    
      
23
24
25 
     | 
    
      # File 'lib/plurimath/math/function/mbox.rb', line 23
def to_omml_without_math_tag
  omml_value
end 
     |