Class: ConvenientService::Utils::Method::Remove
- Inherits:
-
Support::Command
- Object
- Support::Command
- ConvenientService::Utils::Method::Remove
- Defined in:
- lib/convenient_service/utils/method/remove.rb
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#private ⇒ Object
readonly
Returns the value of attribute private.
-
#protected ⇒ Object
readonly
Returns the value of attribute protected.
-
#public ⇒ Object
readonly
Returns the value of attribute public.
Instance Method Summary collapse
- #call ⇒ Class
- #initialize(method, klass, public: true, protected: true, private: false) ⇒ void constructor
Methods inherited from Support::Command
Constructor Details
#initialize(method, klass, public: true, protected: true, private: false) ⇒ void
54 55 56 57 58 59 60 |
# File 'lib/convenient_service/utils/method/remove.rb', line 54 def initialize(method, klass, public: true, protected: true, private: false) @method = method.to_s @klass = klass @public = public @protected = protected @private = private end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
22 23 24 |
# File 'lib/convenient_service/utils/method/remove.rb', line 22 def klass @klass end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
16 17 18 |
# File 'lib/convenient_service/utils/method/remove.rb', line 16 def method @method end |
#private ⇒ Object (readonly)
Returns the value of attribute private.
40 41 42 |
# File 'lib/convenient_service/utils/method/remove.rb', line 40 def private @private end |
#protected ⇒ Object (readonly)
Returns the value of attribute protected.
34 35 36 |
# File 'lib/convenient_service/utils/method/remove.rb', line 34 def protected @protected end |
#public ⇒ Object (readonly)
Returns the value of attribute public.
28 29 30 |
# File 'lib/convenient_service/utils/method/remove.rb', line 28 def public @public end |