Class: Charyf::AppEngine::Extensions
- Includes:
- Enumerable
- Defined in:
- lib/charyf/utils/app_engine/extensions.rb
Instance Attribute Summary collapse
-
#_all ⇒ Object
readonly
Returns the value of attribute _all.
Instance Method Summary collapse
- #-(others) ⇒ Object
- #each(*args, &block) ⇒ Object
-
#initialize ⇒ Extensions
constructor
A new instance of Extensions.
Constructor Details
#initialize ⇒ Extensions
7 8 9 10 |
# File 'lib/charyf/utils/app_engine/extensions.rb', line 7 def initialize @_all ||= ::Charyf::Extension.subclasses.map(&:instance) + ::Charyf::AppEngine.subclasses.map(&:instance) end |
Instance Attribute Details
#_all ⇒ Object (readonly)
Returns the value of attribute _all.
5 6 7 |
# File 'lib/charyf/utils/app_engine/extensions.rb', line 5 def _all @_all end |