Class: Mok::Desc

Inherits:
Element show all
Defined in:
lib/mokelement.rb

Instance Attribute Summary

Attributes inherited from Element

#contents

Instance Method Summary collapse

Methods inherited from Element

#add=, #initialize

Constructor Details

This class inherits a constructor from Mok::Element

Instance Method Details

#applyObject



127
128
129
# File 'lib/mokelement.rb', line 127

def apply
  ":#{@contents[0]}\n#{@contents[1].map {|c| c.apply} }"
end