Sha256: e803fbc90a3c74b7caadbe4d3b9806f4f66c046a2ad7f8bbc982d1f804659623
Contents?: true
Size: 381 Bytes
Versions: 7
Compression:
Stored size: 381 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
7 entries across 7 versions & 1 rubygems