Module: EacRubyUtils::AbstractMethods::ClassMethods
- Defined in:
- lib/eac_ruby_utils/abstract_methods.rb
Instance Method Summary collapse
Instance Method Details
#abstract_methods(*methods_names) ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/eac_ruby_utils/abstract_methods.rb', line 38 def abstract_methods(*methods_names) methods_names.each do |method_name| define_method method_name do raise_abstract_method(method_name) end end end |