DSL method used to add a nested element in the context of self. Both block and element components may contain further nested elements.
Returns:
64 65 66
# File 'lib/well/component.rb', line 64 def element(*args, &content) Element.new(base, *args).evaluate(&content) end