Module: Mml::Base::Content::Inverse
- Included in:
- V2::Inverse, V3::Inverse, V4::Inverse
- Defined in:
- lib/mml/base/content/inverse.rb
Overview
inverse represents the inverse of a function.
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/mml/base/content/inverse.rb', line 8 def self.included(klass) klass.class_eval do attribute :definition_url, :string attribute :encoding_value, :string xml do namespace Mml::Namespace element "inverse" map_attribute "definitionURL", to: :definition_url map_attribute "encoding", to: :encoding_value end end end |