class Module
Public Instance Methods
common_concern(&after_callback)
click to toggle source
# File lib/eac_ruby_utils/patches/module/common_concern.rb, line 6 def common_concern(&after_callback) ::EacRubyUtils::CommonConcern.new(&after_callback).setup(self) end
enable_abstract_methods(*methods)
click to toggle source
# File lib/eac_ruby_utils/patches/module/abstract_methods.rb, line 6 def enable_abstract_methods(*methods) include ::EacRubyUtils::AbstractMethods abstract_methods(*methods) end
enable_context()
click to toggle source
Patches module with [EacRubyUtils::Contextualizable].
# File lib/eac_ruby_utils/patches/module/context.rb, line 8 def enable_context ::EacRubyUtils.patch(self, ::EacRubyUtils::Contextualizable) end
enable_immutable()
click to toggle source
# File lib/eac_ruby_utils/patches/module/immutable.rb, line 7 def enable_immutable ::EacRubyUtils.patch(self, ::EacRubyUtils::Immutable) end
enable_listable()
click to toggle source
# File lib/eac_ruby_utils/patches/module/listable.rb, line 7 def enable_listable ::EacRubyUtils.patch(self, ::EacRubyUtils::Listable) end
enable_simple_cache()
click to toggle source
# File lib/eac_ruby_utils/patches/module/simple_cache.rb, line 7 def enable_simple_cache ::EacRubyUtils.patch(self, ::EacRubyUtils::SimpleCache) end
enable_speaker()
click to toggle source
# File lib/eac_ruby_utils/patches/module/speaker.rb, line 6 def enable_speaker include ::EacRubyUtils::Speaker::Sender end
patch(patch_module)
click to toggle source
# File lib/eac_ruby_utils/patches/module/patch.rb, line 6 def patch(patch_module) ::EacRubyUtils.patch(self, patch_module) end
require_sub(file_path, options = {})
click to toggle source
# File lib/eac_ruby_utils/patches/module/require_sub.rb, line 6 def require_sub(file_path, options = {}) ::EacRubyUtils.require_sub(file_path, { base: self }.merge(options)) end