module T::Private::Final::NoIncludeExtend

Public Instance Methods

extended(arg) click to toggle source
Calls superclass method
# File lib/types/private/final.rb, line 18
def extended(arg)
  super(arg)
  raise "#{self} was declared as final and cannot be extended"
end
included(arg) click to toggle source
Calls superclass method
# File lib/types/private/final.rb, line 13
def included(arg)
  super(arg)
  raise "#{self} was declared as final and cannot be included"
end