Sha256: a4709d2183f68c7a1c591059c58320d8588905d2bf43476c5f1b6b33c1e0ce5c
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
module DummyPlugin module IssuePatch def self.included(base) base.extend(ClassMethods) base.send(:include, InstanceMethods) base.class_eval do alias_method_chain :to_s, :dummy_plugin end end module InstanceMethods def to_s_with_dummy_plugin 'issue' end end module ClassMethods end end end RedmineExtensions::PatchManager.register_model_patch 'Issue', 'DummyPlugin::IssuePatch'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redmine_extensions-0.1.15 | spec/redmine/plugins/dummy_plugin/lib/dummy_plugin/easy_patch/redmine/models/issue_patch.example |