Sha256: c08ccb955b7a3e8d50e8aa81f8afb7330f479626556f354c1b9451f1eaadcfd6
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>print_component (Icalendar::Component)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File lib/icalendar/component.rb, line 113</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">print_component</span> <span class="ruby-comment cmt"># Begin a new component</span> <span class="ruby-node">"BEGIN:#{@name.upcase}\r\n"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># Then the properties</span> <span class="ruby-identifier">print_properties</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># sub components</span> <span class="ruby-keyword kw">yield</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># End of this component</span> <span class="ruby-node">"END:#{@name.upcase}\r\n"</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
icalendar-0.98 | docs/api/classes/Icalendar/Component.src/M000042.html |