module Danger::Dangerfile::DSL
Anything inside this module is considered public API, and in the future documentation will be generated from it via rdoc.
Attributes
env[R]
@!group Danger
Zone Provides access to the raw Travis/Circle/Buildkite/GitHub objects, which you can use to pull out extra bits of information. Warning the interfaces of these objects is not considered a part of the Dangerfile
public API, and is viable to change occasionally on the whims of developers. @return [EnvironmentManager]
Public Class Methods
new()
click to toggle source
# File lib/danger/danger_core/dangerfile_dsl.rb, line 18 def initialize load_default_plugins end
Private Instance Methods
load_default_plugins()
click to toggle source
# File lib/danger/danger_core/dangerfile_dsl.rb, line 22 def load_default_plugins Dir["./danger_plugins/*.rb"].each do |file| require File.expand_path(file) end end