Sha256: a344cfe29bbc4328f91dd25171a4c90868e670db32d278f096bad39bf2cb6a06
Contents?: true
Size: 254 Bytes
Versions: 1
Compression:
Stored size: 254 Bytes
Contents
require 'erb' module RCoLi module Help def help puts template 'help' end def template(name) ERB.new(File.read(File.join(File.dirname(__FILE__), 'templates', "#{name}.erb")), nil, '-').result binding end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rcoli-0.5.0 | lib/rcoli/help.rb |