Top Level Namespace
Defined Under Namespace
Classes: Woody
Instance Method Summary collapse
-
#generator_meta_tag ⇒ Object
HTML meta generator tag with Woody attribution and version.
-
#link_to(text, url) ⇒ String
Generates HTML hyperlink/anchor tag.
Instance Method Details
#generator_meta_tag ⇒ Object
Returns HTML meta generator tag with Woody attribution and version.
105 106 107 |
# File 'lib/woody.rb', line 105 def () return %Q{<meta name="generator" content="Woody #{Woody::VERSION}" />} end |
#link_to(text, url) ⇒ String
Generates HTML hyperlink/anchor tag
100 101 102 |
# File 'lib/woody.rb', line 100 def link_to(text, url) return %Q{<a href="#{url}">#{text}</a>} end |