Module: T::Private::Final::NoInherit
- Defined in:
- lib/types/private/final.rb
Instance Method Summary collapse
Instance Method Details
#inherited(arg) ⇒ Object
6 7 8 9 |
# File 'lib/types/private/final.rb', line 6 def inherited(arg) super(arg) raise "#{self.name} was declared as final and cannot be inherited" end |