module Swee::Helper

Public Instance Methods

form_for() click to toggle source
# File lib/swee/helper.rb, line 15
def form_for

end
image_tag() click to toggle source
# File lib/swee/helper.rb, line 11
def image_tag

end
parse_tag_options(options) click to toggle source
# File lib/swee/helper.rb, line 24
def parse_tag_options options

end
raw(text) click to toggle source
# File lib/swee/helper.rb, line 7
def raw text
  text.html_safe
end
tag(name, options = nil, open = false, escape = true) click to toggle source
# File lib/swee/helper.rb, line 19
def tag(name, options = nil, open = false, escape = true)

  "<#{name}#{tag_options(options, escape) if options}#{open ? ">" : " />"}".html_safe
end