module Realm::Mixins::AggregateMember::ClassMethods
Public Instance Methods
aggregate()
click to toggle source
# File lib/realm/mixins/aggregate_member.rb, line 15 def aggregate @aggregate ||= begin module_chain = name.split('::') domain_index = module_chain.index('Domain') domain_index && module_chain[domain_index + 1].underscore.to_sym end end