Class: ConvenientService::Utils::Module::InstanceMethodDefined
- Inherits:
-
Support::Command
- Object
- Support::Command
- ConvenientService::Utils::Module::InstanceMethodDefined
- Defined in:
- lib/convenient_service/utils/module/instance_method_defined.rb
Overview
Instance Attribute Summary collapse
- #method_name ⇒ Object readonly
- #mod ⇒ Object readonly
- #private ⇒ Object readonly
- #protected ⇒ Object readonly
- #public ⇒ Object readonly
Instance Method Summary collapse
- #call ⇒ Boolean
- #initialize(mod, method_name, public: true, protected: true, private: false) ⇒ void constructor
Methods inherited from Support::Command
Constructor Details
#initialize(mod, method_name, public: true, protected: true, private: false) ⇒ void
49 50 51 52 53 54 55 |
# File 'lib/convenient_service/utils/module/instance_method_defined.rb', line 49 def initialize(mod, method_name, public: true, protected: true, private: false) @mod = mod @method_name = method_name @public = public @protected = protected @private = private end |
Instance Attribute Details
#method_name ⇒ Object (readonly)
17 18 19 |
# File 'lib/convenient_service/utils/module/instance_method_defined.rb', line 17 def method_name @method_name end |
#mod ⇒ Object (readonly)
11 12 13 |
# File 'lib/convenient_service/utils/module/instance_method_defined.rb', line 11 def mod @mod end |
#private ⇒ Object (readonly)
35 36 37 |
# File 'lib/convenient_service/utils/module/instance_method_defined.rb', line 35 def private @private end |
#protected ⇒ Object (readonly)
29 30 31 |
# File 'lib/convenient_service/utils/module/instance_method_defined.rb', line 29 def protected @protected end |
#public ⇒ Object (readonly)
23 24 25 |
# File 'lib/convenient_service/utils/module/instance_method_defined.rb', line 23 def public @public end |