Module: Charyf::Strategy::OwnerClass
- Included in:
- Engine::Dispatcher, Engine::Intent::Processor, Engine::Routing, Engine::Session::Processor, Interface, Utils::StorageProvider
- Defined in:
- lib/charyf/utils/strategy/owner_class.rb
Instance Method Summary collapse
Instance Method Details
#base_class(name = nil) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/charyf/utils/strategy/owner_class.rb', line 13 def base_class(name = nil) if name @_base_class = name end self.const_get(@_base_class || :Base) end |
#known ⇒ Object
5 6 7 |
# File 'lib/charyf/utils/strategy/owner_class.rb', line 5 def known base_class.known end |
#list ⇒ Object
9 10 11 |
# File 'lib/charyf/utils/strategy/owner_class.rb', line 9 def list base_class.list end |