module Sarawong

Public Class Methods

form(input) click to toggle source
# File lib/sarawong.rb, line 13
def self.form(input)
        puts 'in form'
        # puts form_authenticity_token
        puts 'in form'
        string = Builder.form(input.to_s, input.column_names)
        string = string.html_safe
        return string
end
header(title = 'title here') click to toggle source
# File lib/sarawong.rb, line 8
def self.header(title = 'title here')
        string = Builder.header(title)
        string = string.html_safe
        return string
end
hi(language = "english") click to toggle source
# File lib/sarawong.rb, line 5
def self.hi(language = "english")
        Translator.hi(language)
end