Module: Fib::Additions::ContainerAddition

Extended by:
ActiveSupport::Concern
Included in:
RailsControllerAddition, TargeterAddition
Defined in:
lib/fib/additions/container_addition.rb

Instance Method Summary collapse

Instance Method Details

#fib_containerObject



11
12
13
# File 'lib/fib/additions/container_addition.rb', line 11

def fib_container
  self.class.fib_container
end

#fib_inheritObject



15
16
17
18
19
20
21
# File 'lib/fib/additions/container_addition.rb', line 15

def fib_inherit
  if __fib_inherit && respond_to?(__fib_inherit) && (obj=send(__fib_inherit))
    obj
  else
    fib_container
  end
end