Sha256: ec9559e5a13bc381ee1f29521c92875d61df7e4e55e63aa06c9a5220914e1c50

Contents?: true

Size: 549 Bytes

Versions: 1

Compression:

Stored size: 549 Bytes

Contents

module DummyPlugin
  module IssuesHelperPatch

    def self.included(base)
      base.extend(ClassMethods)
      base.send(:include, InstanceMethods)

      base.class_eval do

        alias_method_chain :issue_heading, :dummy_plugin

      end
    end

    module InstanceMethods

      def issue_heading_with_dummy_plugin(issue)
        issue_heading_without_dummy_plugin(issue)
      end

    end

    module ClassMethods

    end

  end

end
RedmineExtensions::PatchManager.register_helper_patch 'IssuesHelper', 'DummyPlugin::IssuesHelperPatch'

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/helpers/issues_helper_patch.example