|
|
@ -9,10 +9,10 @@ module Docs
|
|
|
|
/\AActiveRecord.+Assoc/ => 'ActiveRecord/Associations',
|
|
|
|
/\AActiveRecord.+Assoc/ => 'ActiveRecord/Associations',
|
|
|
|
/\AActiveRecord.+Attribute/ => 'ActiveRecord/Attributes',
|
|
|
|
/\AActiveRecord.+Attribute/ => 'ActiveRecord/Attributes',
|
|
|
|
/\AActiveRecord.+ConnectionAdapters/ => 'ActiveRecord/Connection',
|
|
|
|
/\AActiveRecord.+ConnectionAdapters/ => 'ActiveRecord/Connection',
|
|
|
|
/\AActiveSupport.+(Subscriber|Notifications)/ => 'ActiveSupport/Instrumentation',
|
|
|
|
/\AActiveSupport.+(Subscriber|Notifications)/ => 'ActiveSupport/Instrumentation' }
|
|
|
|
/\A(False|Nil|True)Class/ => 'Boolean' }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TYPE_BY_NAME_STARTS_WITH = {
|
|
|
|
TYPE_BY_NAME_STARTS_WITH = {
|
|
|
|
|
|
|
|
'ActionController::Parameters' => 'ActionController/Parameters',
|
|
|
|
'ActionDispatch::Integration' => 'Testing',
|
|
|
|
'ActionDispatch::Integration' => 'Testing',
|
|
|
|
'ActionDispatch::Request' => 'ActionDispatch/Request',
|
|
|
|
'ActionDispatch::Request' => 'ActionDispatch/Request',
|
|
|
|
'ActionDispatch::Response' => 'ActionDispatch/Response',
|
|
|
|
'ActionDispatch::Response' => 'ActionDispatch/Response',
|
|
|
@ -20,20 +20,22 @@ module Docs
|
|
|
|
'ActionView::Helpers' => 'ActionView/Helpers',
|
|
|
|
'ActionView::Helpers' => 'ActionView/Helpers',
|
|
|
|
'ActiveModel::Errors' => 'ActiveModel/Validation',
|
|
|
|
'ActiveModel::Errors' => 'ActiveModel/Validation',
|
|
|
|
'ActiveModel::Valid' => 'ActiveModel/Validation',
|
|
|
|
'ActiveModel::Valid' => 'ActiveModel/Validation',
|
|
|
|
'ActiveRecord::Batches' => 'ActiveModel/Query',
|
|
|
|
'ActiveRecord::Batches' => 'ActiveRecord/Query',
|
|
|
|
'ActiveRecord::Calculations' => 'ActiveModel/Query',
|
|
|
|
'ActiveRecord::Calculations' => 'ActiveRecord/Query',
|
|
|
|
'ActiveRecord::Connection' => 'ActiveModel/Connection',
|
|
|
|
'ActiveRecord::Connection' => 'ActiveRecord/Connection',
|
|
|
|
'ActiveRecord::FinderMethods' => 'ActiveModel/Query',
|
|
|
|
'ActiveRecord::FinderMethods' => 'ActiveRecord/Query',
|
|
|
|
'ActiveRecord::Query' => 'ActiveModel/Query',
|
|
|
|
'ActiveRecord::Migra' => 'ActiveRecord/Migration',
|
|
|
|
'ActiveRecord::Relation' => 'ActiveModel/Relation',
|
|
|
|
'ActiveRecord::Query' => 'ActiveRecord/Query',
|
|
|
|
'ActiveRecord::Result' => 'ActiveModel/Connection',
|
|
|
|
'ActiveRecord::Relation' => 'ActiveRecord/Relation',
|
|
|
|
'ActiveRecord::Scoping' => 'ActiveModel/Query',
|
|
|
|
'ActiveRecord::Result' => 'ActiveRecord/Connection',
|
|
|
|
'ActiveRecord::SpawnMethods' => 'ActiveModel/Query',
|
|
|
|
'ActiveRecord::Scoping' => 'ActiveRecord/Query',
|
|
|
|
|
|
|
|
'ActiveRecord::SpawnMethods' => 'ActiveRecord/Query',
|
|
|
|
'ActiveSupport::Cach' => 'ActiveSupport/Caching',
|
|
|
|
'ActiveSupport::Cach' => 'ActiveSupport/Caching',
|
|
|
|
'ActiveSupport::Inflector' => 'ActiveSupport/Inflector',
|
|
|
|
'ActiveSupport::Inflector' => 'ActiveSupport/Inflector',
|
|
|
|
'ActiveSupport::Time' => 'ActiveSupport/TimeZones',
|
|
|
|
'ActiveSupport::Time' => 'ActiveSupport/TimeZones',
|
|
|
|
'Rails::Application' => 'Rails/Application',
|
|
|
|
'Rails::Application' => 'Rails/Application',
|
|
|
|
'Rails::Engine' => 'Rails/Engine',
|
|
|
|
'Rails::Engine' => 'Rails/Engine',
|
|
|
|
|
|
|
|
'Rails::Generators' => 'Rails/Generators',
|
|
|
|
'Rails::Railtie' => 'Rails/Railtie' }
|
|
|
|
'Rails::Railtie' => 'Rails/Railtie' }
|
|
|
|
|
|
|
|
|
|
|
|
def get_type
|
|
|
|
def get_type
|
|
|
|