Module: Bj::Table::RecursivelyInherited
- Defined in:
- lib/bj/table.rb
Instance Method Summary collapse
Instance Method Details
#inherited(other) ⇒ Object
95 96 97 98 99 100 101 102 |
# File 'lib/bj/table.rb', line 95 def inherited other super ensure (Table.list << other).uniq! basename = other.name.split(%r/::/).last.underscore Table.singleton_class{ attribute basename => other } other.send :extend, RecursivelyInherited end |