Files

Guard::Guardfile

@deprecated Use instance methods of {Guardfile::Evaluator} and

{Guardfile::Generator} instead.

@see Guardfile::Evaluator @see Guardfile::Generator

Public Class Methods

create_guardfile(options = {}) click to toggle source

@deprecated Use {Guardfile::Generator#create_guardfile} instead.

@see github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 How to upgrade for Guard 2.0

# File lib/guard/guardfile.rb, line 19
def self.create_guardfile(options = {})
  ::Guard::UI.deprecation(::Guard::Deprecator::CREATE_GUARDFILE_DEPRECATION)
  Generator.new(options).create_guardfile
end
initialize_all_templates() click to toggle source

@deprecated Use {Guardfile::Generator#initialize_all_templates} instead.

@see github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 How to upgrade for Guard 2.0

# File lib/guard/guardfile.rb, line 37
def self.initialize_all_templates
  ::Guard::UI.deprecation(::Guard::Deprecator::INITIALIZE_ALL_TEMPLATES_DEPRECATION)
  Generator.new.initialize_all_templates
end
initialize_template(plugin_name) click to toggle source

@deprecated Use {Guardfile::Generator#initialize_template} instead.

@see github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 How to upgrade for Guard 2.0

# File lib/guard/guardfile.rb, line 28
def self.initialize_template(plugin_name)
  ::Guard::UI.deprecation(::Guard::Deprecator::INITIALIZE_TEMPLATE_DEPRECATION)
  Generator.new.initialize_template(plugin_name)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.