Sha256: dfb3ee9663889b3c03ceaaada7b26ba29a81285ed11781d01ad5ec6acc27c290
Contents?: true
Size: 259 Bytes
Versions: 2
Compression:
Stored size: 259 Bytes
Contents
def inst_name $LAMBY_INSTALLER_NAME end def app_file(path) Rails.root.join(path) end def tpl_file(path) "#{__dir__}/#{inst_name}/#{path}" end def shr_file(path) "#{__dir__}/shared/#{path}" end def appname Rails.application.class.parent.name end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lamby-0.5.1 | lib/lamby/templates/shared.rb |
lamby-0.5.0 | lib/lamby/templates/shared.rb |