class SmartIoC::Scopes::Prototype

Prototype scope instantiates new bean instance on each SmartIoC.get_bean call

Constants

VALUE

Public Instance Methods

clear() click to toggle source
# File lib/smart_ioc/scopes/prototype.rb, line 19
def clear
  # do nothing
end
force_clear() click to toggle source
# File lib/smart_ioc/scopes/prototype.rb, line 23
def force_clear
  # do nothing
end
get_bean(bean_definition) click to toggle source

Get new bean instance @param bean_definition [BeanDefinition] bean definition @returns nil

# File lib/smart_ioc/scopes/prototype.rb, line 8
def get_bean(bean_definition)
  # do nothing
end
save_bean(klass, bean) click to toggle source

@param klass [Class] bean class @param bean [Any Object] bean object @returns nil

# File lib/smart_ioc/scopes/prototype.rb, line 15
def save_bean(klass, bean)
  # do nothing
end