Class: Raf::Kbd

Inherits:
Element show all
Defined in:
lib/rafelement.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 Raf::Element

Instance Method Details

#applyObject



205
206
207
# File 'lib/rafelement.rb', line 205

def apply
  "<Kbd>#{@contents.map{|c| c.apply}}</Kbd>"
end