Class: RailsLens::Providers::InheritanceProvider
- Defined in:
- lib/rails_lens/providers/inheritance_provider.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#process(model_class, connection = nil) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/rails_lens/providers/inheritance_provider.rb', line 10 def process(model_class, connection = nil) analyzer = Analyzers::Inheritance.new(model_class) content = analyzer.analyze return nil unless content { title: nil, # Content already includes section header content: content } end |
#type ⇒ Object
6 7 8 |
# File 'lib/rails_lens/providers/inheritance_provider.rb', line 6 def type :section end |