Module: Ribbon::Intercom::Packageable::Mixin::ClassMethods

Defined in:
lib/ribbon/intercom/packageable/mixin.rb

Instance Method Summary collapse

Instance Method Details

#_package_with_methodsObject



17
18
19
# File 'lib/ribbon/intercom/packageable/mixin.rb', line 17

def _package_with_methods
  @__package_with_methods ||= [].to_set
end

#package_with(*args) ⇒ Object



13
14
15
# File 'lib/ribbon/intercom/packageable/mixin.rb', line 13

def package_with(*args)
  args.map { |m| _package_with_methods << m.to_sym }
end