Module: Mml::Base::Content::Otherwise

Included in:
V2::Otherwise, V3::Otherwise, V4::Otherwise
Defined in:
lib/mml/base/content/otherwise.rb

Overview

otherwise represents the default case in a piecewise expression.

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



8
9
10
11
12
13
14
15
16
# File 'lib/mml/base/content/otherwise.rb', line 8

def self.included(klass)
  klass.class_eval do
    xml do
      namespace Mml::Namespace
      element "otherwise"
      mixed_content
    end
  end
end