daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Rails::Application
  2.   initializer :require_frameworks do
  3.     require "action_pack"
  4.   end
  5. end
  6.  
  7. class Rails::Application::Sinatra
  8.   initializer :load_in_file_templates do
  9.     # Go through app code files and check for templates
  10.   end
  11. end
  12.  
  13. class MyApp1 < Rails::Application
  14.   initializer :omg do
  15.     puts "OMG"
  16.   end
  17. end
  18.  
  19. class MyApp2 < Rails::Application::Sinatra
  20.   initializer :hi2u do
  21.     puts "HI2U"
  22.   end
  23. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top