class Buildkite::Builder::Loaders::Templates
Constants
- TEMPLATES_PATH
Public Instance Methods
load()
click to toggle source
# File lib/buildkite/builder/loaders/templates.rb, line 11 def load return unless templates_path.directory? templates_path.children.sort.each do |file| add(file.basename('.rb'), load_definition(file, Definition::Template)) end end
templates_path()
click to toggle source
# File lib/buildkite/builder/loaders/templates.rb, line 19 def templates_path root.join(TEMPLATES_PATH) end