Class: MethodExtensions::MethodSuper::Methods
- Inherits:
-
Object
- Object
- MethodExtensions::MethodSuper::Methods
- Defined in:
- lib/method_extensions/method/super.rb
Constant Summary collapse
- VISIBILITIES =
[ :public, :protected, :private ].freeze
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize(klass_or_module, options = {}) ⇒ Methods
constructor
A new instance of Methods.
Constructor Details
#initialize(klass_or_module, options = {}) ⇒ Methods
Returns a new instance of Methods.
76 77 78 79 80 81 |
# File 'lib/method_extensions/method/super.rb', line 76 def initialize(klass_or_module, = {}) @klass_or_module = klass_or_module @ancestor_name_formatter = .fetch(:ancestor_name_formatter, default_ancestor_name_formatter) @exclude_trite = .fetch(:exclude_trite, true) end |
Instance Method Details
#all ⇒ Object
83 84 85 |
# File 'lib/method_extensions/method/super.rb', line 83 def all @all ||= find_all end |