Class: LokaliseRails::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- LokaliseRails::Railtie
- Defined in:
- lib/lokalise_rails/railtie.rb
Overview
The Railtie class in Rails is used to extend Rails’ functionality within an application, or in this case, a gem. This Railtie is specifically used to add custom Rake tasks from the LokaliseRails gem into the Rails application.
It leverages Rails’ Railtie architecture to ensure the Rake tasks are loaded when the application boots up and Rake is invoked.