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
31 32 33 34 35 36 37 |
# File 'lib/eac_ruby_utils/abstract_methods.rb', line 31 def abstract_methods(*methods_names) methods_names.each do |method_name| define_method method_name do raise_abstract_method(method_name) end end end |