Class: N1Loader::ActiveRecord::Associations::Preloader::N1LoaderReflection

Inherits:
Struct
  • Object
show all
Defined in:
lib/n1_loader/active_record/associations_preloader.rb,
lib/n1_loader/active_record/associations_preloader_v5.rb,
lib/n1_loader/active_record/associations_preloader_v6.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#loaderObject

Returns the value of attribute loader

Returns:

  • (Object)

    the current value of loader



7
8
9
# File 'lib/n1_loader/active_record/associations_preloader.rb', line 7

def loader
  @loader
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/n1_loader/active_record/associations_preloader.rb', line 7

def name
  @name
end

Instance Method Details

#deprecated?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/n1_loader/active_record/associations_preloader.rb', line 12

def deprecated?
  false
end

#optionsObject



8
9
10
# File 'lib/n1_loader/active_record/associations_preloader.rb', line 8

def options
  {}
end

#through_reflection?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/n1_loader/active_record/associations_preloader.rb', line 16

def through_reflection?
  false
end