Module: Mml::Base::Content::Set
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/mml/base/content/sets.rb', line 23 def self.included(klass) klass.class_eval do include Sets attribute :type, :string xml do element "set" mixed_content map_attribute "type", to: :type end end end |