lib/rom/plugins/relation/sql/auto_combine.rb in rom-sql-1.0.0.beta3 vs lib/rom/plugins/relation/sql/auto_combine.rb in rom-sql-1.0.0.rc1
- old
+ new
@@ -1,26 +1,30 @@
module ROM
module Plugins
module Relation
module SQL
+ # @api private
module AutoCombine
# @api private
def self.included(klass)
super
klass.class_eval do
include(InstanceInterface)
extend(ClassInterface)
end
end
+ # @api private
module ClassInterface
+ # @api private
def inherited(klass)
super
klass.auto_curry :for_combine
klass.auto_curry :preload
end
end
+ # @api private
module InstanceInterface
# Default methods for fetching combined relation
#
# This method is used by default by `combine`
#