Sha256: 527d2e4dd9e617e8dd346ed1a2f9a975d2b0cae5c1881ec653126cf2409dfca8
Contents?: true
Size: 382 Bytes
Versions: 3
Compression:
Stored size: 382 Bytes
Contents
module Transponder module Generators module ResourceHelpers def js_app_name application_name.downcase end # gets the application name def application_name if defined?(Rails) && ::Rails.application ::Rails.application.class.name.split('::').first else "application" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems