class Danger::PluginLinter::Rule
An internal class that is used to represent a rule for the linter.
Attributes
Public Class Methods
Source
# File lib/danger/plugin_support/plugin_linter.rb, line 7 def initialize(modifier, ref, title, description, function) @modifier = modifier @title = title @description = description @function = function @ref = ref end
Public Instance Methods
Source
# File lib/danger/plugin_support/plugin_linter.rb, line 15 def object_applied_to metadata[:name].to_s.bold + " (" + type + ")" end