Module: TipTap::Registerable::ClassMethods

Defined in:
lib/tip_tap/registerable.rb

Instance Method Summary collapse

Instance Method Details

#type_nameObject



17
18
19
# File 'lib/tip_tap/registerable.rb', line 17

def type_name
  @type_name
end

#type_name=(type_name) ⇒ Object



12
13
14
15
# File 'lib/tip_tap/registerable.rb', line 12

def type_name=(type_name)
  @type_name = type_name
  Registry.register(type_name, self)
end