Module: Mml::Base::V4OnlyAttributes
- Defined in:
- lib/mml/base/universal_presentation_attributes.rb
Overview
V4-only attributes not present in V3.
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/mml/base/universal_presentation_attributes.rb', line 32 def self.included(klass) klass.class_eval do attribute :intent, :string attribute :arg, :string xml do namespace Mml::Namespace map_attribute "intent", to: :intent map_attribute "arg", to: :arg end end end |