Class: EasyTalk::Types::Composer
- Inherits:
-
BaseComposer
- Object
- T::Types::Base
- BaseComposer
- EasyTalk::Types::Composer
- Defined in:
- lib/easy_talk/types/composer.rb
Overview
Base class for composition types
Defined Under Namespace
Class Method Summary collapse
-
.name ⇒ Object
Returns the name of the composition type.
Instance Method Summary collapse
-
#name ⇒ Object
Returns the name of the composition type.
- #to_s ⇒ Object
Constructor Details
This class inherits a constructor from EasyTalk::Types::BaseComposer
Class Method Details
.name ⇒ Object
Returns the name of the composition type.
10 11 12 |
# File 'lib/easy_talk/types/composer.rb', line 10 def self.name raise NotImplementedError, "#{self.class.name} must implement the name method" end |
Instance Method Details
#name ⇒ Object
Returns the name of the composition type.
15 16 17 |
# File 'lib/easy_talk/types/composer.rb', line 15 def name self.class.name end |
#to_s ⇒ Object
19 20 21 |
# File 'lib/easy_talk/types/composer.rb', line 19 def to_s name.to_s end |