module Mybot::Templates
Public Instance Methods
tpl(content)
click to toggle source
# File lib/mybot/templates.rb, line 3 def tpl(content) case content when String Template.new(content) when Hash Template.new(File.read(content[:file])) end end