Sha256: 9f8f841754ed73d7f421163524f45f8e1d0b048c28316b1752882c0695adc6e8
Contents?: true
Size: 456 Bytes
Versions: 2
Compression:
Stored size: 456 Bytes
Contents
module AngularVelocity module Generators module AngularConfig def application_name if defined?(Rails) && Rails.application "#{Rails.application.class.name.split('::').first}App" else "App" end end def angular_path "app/assets/javascripts/#{application_name}" end def angular_spec_path "spec/javascripts/#{application_name}" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
angular_velocity-0.0.3alpha | lib/generators/angular_velocity/angular_config.rb |
angular_velocity-0.0.2alpha | lib/generators/angular_velocity/angular_config.rb |