class Sunrise::Config::Model
Attributes
sections[R]
Public Class Methods
new(abstract_model, parent = nil, options = nil)
click to toggle source
Calls superclass method
Sunrise::Config::Base::new
# File lib/sunrise/config/model.rb, line 16 def initialize(abstract_model, parent = nil, options = nil) super @sections ||= {} end
Public Instance Methods
associations()
click to toggle source
# File lib/sunrise/config/model.rb, line 49 def associations @associations ||= @sections.select { |key, _value| key.to_s.include?('association_') }.values end