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