D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
railties-4.2.8
/
lib
/
rails
/
engine
/
Filename :
railties.rb
back
Copy
module Rails class Engine < Railtie class Railties include Enumerable attr_reader :_all def initialize @_all ||= ::Rails::Railtie.subclasses.map(&:instance) + ::Rails::Engine.subclasses.map(&:instance) end def each(*args, &block) _all.each(*args, &block) end def -(others) _all - others end end end end