Module: TipTap::Registerable

Included in:
Node
Defined in:
lib/tip_tap/registerable.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
# File 'lib/tip_tap/registerable.rb', line 7

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#type_nameObject



22
23
24
# File 'lib/tip_tap/registerable.rb', line 22

def type_name
  self.class.type_name
end