Class: Mathemagical::Under
- Defined in:
- lib/mathemagical/element.rb
Instance Attribute Summary
Attributes inherited from Element
#attributes, #children, #display_style, #name
Instance Method Summary collapse
-
#initialize(base, under) ⇒ Under
constructor
A new instance of Under.
Methods inherited from Element
#<<, #[], #[]=, #as_display_style, #build_attributes_string, #child_ml, #pop, #self_closing_xml, #to_s, #xml
Constructor Details
#initialize(base, under) ⇒ Under
Returns a new instance of Under.
195 196 197 198 |
# File 'lib/mathemagical/element.rb', line 195 def initialize(base, under) super("munder") self << base << under end |