Sha256: ca2f9987c23a72d9a70343d6c44fdd1d33ebcd69db5ee0db977ecb246b5bd30b
Contents?: true
Size: 348 Bytes
Versions: 3
Compression:
Stored size: 348 Bytes
Contents
module RoleRails class Engine < ::Rails::Engine initializer "role-rails.register" do |app| if defined?(Slim::Parser) Slim::Parser.default_options[:shortcut].try(:[]=, '@', 'role') end if defined?(Slim::Engine) Slim::Engine.default_options[:attr_delimiter].try(:[]=, 'role', ' ') end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
role-rails-1.3.1 | lib/role-rails/engine.rb |
role-rails-1.3.0 | lib/role-rails/engine.rb |
role-rails-1.2.1 | lib/role-rails/engine.rb |