Module: Xommelier::Xml::Element::Structure::SingletonClassMethods

Defined in:
lib/xommelier/xml/element/structure.rb

Instance Method Summary collapse

Instance Method Details

#element_name(element_name = nil) ⇒ Object



38
39
40
41
# File 'lib/xommelier/xml/element/structure.rb', line 38

def element_name(element_name = nil)
  @element_name = element_name if element_name
  @element_name ||= find_element_name
end