Module: Intercom::GenericHandlers::Tag
- Included in:
- Tag
- Defined in:
- lib/intercom/generic_handlers/tag.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.handles_method?(method_sym) ⇒ Boolean
62 63 64 |
# File 'lib/intercom/generic_handlers/tag.rb', line 62 def self.handles_method?(method_sym) method_sym.to_s.start_with?('tag_') || method_sym.to_s.start_with?('untag_') end |
.included(base) ⇒ Object
66 67 68 |
# File 'lib/intercom/generic_handlers/tag.rb', line 66 def self.included(base) base.extend(ClassMethods) end |