lib/danger/plugin_support/plugin.rb in danger-0.8.4 vs lib/danger/plugin_support/plugin.rb in danger-0.8.5
- old
+ new
@@ -3,10 +3,10 @@
def initialize(dangerfile)
@dangerfile = dangerfile
end
def self.instance_name
- to_s.gsub("Danger", "").danger_underscore.split('/').last
+ to_s.gsub('Danger', '').danger_underscore.split('/').last
end
# Both of these methods exist on all objects
# http://ruby-doc.org/core-2.2.3/Kernel.html#method-i-warn
# http://ruby-doc.org/core-2.2.3/Kernel.html#method-i-fail