Class: EacRubyUtils::CommonConcern
- Defined in:
- lib/eac_ruby_utils/common_concern.rb
Defined Under Namespace
Classes: Setup
Constant Summary collapse
- CLASS_METHODS_MODULE_NAME =
'ClassMethods'
- INSTANCE_METHODS_MODULE_NAME =
'InstanceMethods'
Instance Attribute Summary collapse
-
#after_callback ⇒ Object
readonly
Returns the value of attribute after_callback.
Instance Method Summary collapse
-
#initialize(&after_callback) ⇒ CommonConcern
constructor
A new instance of CommonConcern.
- #setup(a_module) ⇒ Object
Constructor Details
#initialize(&after_callback) ⇒ CommonConcern
Returns a new instance of CommonConcern.
14 15 16 |
# File 'lib/eac_ruby_utils/common_concern.rb', line 14 def initialize(&after_callback) @after_callback = after_callback end |
Instance Attribute Details
#after_callback ⇒ Object (readonly)
Returns the value of attribute after_callback.
12 13 14 |
# File 'lib/eac_ruby_utils/common_concern.rb', line 12 def after_callback @after_callback end |