Included Modules

Class Index [+]

Quicksearch

Ramaze::View::Tagz::Methods

A host of methods useful inside the context of a view including print style methods that output content rather that printing to $stdout.

Private Instance Methods

<<(s) click to toggle source
    # File lib/ramaze/view/tagz.rb, line 27
27:         def <<(s)
28:           tagz << s; self
29:         end
__(*a) click to toggle source
    # File lib/ramaze/view/tagz.rb, line 63
63:         def __(*a)
64:           concat eol
65:         end
concat(*a) click to toggle source
    # File lib/ramaze/view/tagz.rb, line 31
31:         def concat(*a)
32:           a.each{|s| tagz << s}; self
33:         end
eol() click to toggle source
    # File lib/ramaze/view/tagz.rb, line 55
55:         def eol
56:           if response.content_type =~ %text/plain|o
57:             "\n"
58:           else
59:             "<br />"
60:           end
61:         end
p(*a) click to toggle source
    # File lib/ramaze/view/tagz.rb, line 43
43:         def p(*a)
44:           a.each do |elem|
45:             tagz << "#{ Rack::Utils.escape_html elem.inspect }#{ eol }"
46:           end
47:         end
pp(*a) click to toggle source
    # File lib/ramaze/view/tagz.rb, line 49
49:         def pp(*a)
50:           a.each do |elem|
51:             tagz << "#{ Rack::Utils.escape_html PP.pp(elem, '') }#{ eol }"
52:           end
53:         end
puts(*a) click to toggle source
    # File lib/ramaze/view/tagz.rb, line 35
35:         def puts(*a)
36:           a.each{|elem| tagz << "#{ elem.to_s.chomp }#{ eol }"}
37:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.