File: underscore-rails.rb

package info (click to toggle)
ruby-underscore-rails 1.8.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 116 kB
  • ctags: 8
  • sloc: ruby: 15; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 354 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
require "underscore-rails/version"

module Underscore
  module Rails
    if defined?(::Rails) and Gem::Requirement.new('>= 3.1').satisfied_by?(Gem::Version.new ::Rails.version)
      class Rails::Engine < ::Rails::Engine
        config.root = '/usr/share/ruby-underscore-rails'
        # this class enables the asset pipeline
      end
    end
  end
end