Class: Mathemagical::Fenced
- Defined in:
- lib/mathemagical/element.rb
Instance Attribute Summary collapse
-
#close ⇒ Object
Returns the value of attribute close.
-
#open ⇒ Object
Returns the value of attribute open.
Attributes inherited from Element
#attributes, #children, #display_style, #name
Instance Method Summary collapse
-
#initialize ⇒ Fenced
constructor
A new instance of Fenced.
Methods inherited from Element
#<<, #[], #[]=, #as_display_style, #build_attributes_string, #child_ml, #pop, #self_closing_xml, #to_s, #xml
Constructor Details
#initialize ⇒ Fenced
Returns a new instance of Fenced.
116 117 118 |
# File 'lib/mathemagical/element.rb', line 116 def initialize super("mfenced") end |
Instance Attribute Details
#close ⇒ Object
Returns the value of attribute close.
114 115 116 |
# File 'lib/mathemagical/element.rb', line 114 def close @close end |
#open ⇒ Object
Returns the value of attribute open.
114 115 116 |
# File 'lib/mathemagical/element.rb', line 114 def open @open end |