module Guard::Deprecated::Guardfile::ClassMethods
Constants
- CREATE_GUARDFILE
@see github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 How to upgrade for
Guard
2.0- INITIALIZE_ALL_TEMPLATES
@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.0Deprecator message for the ‘Guardfile.initialize_all_templates` method
- INITIALIZE_TEMPLATE
@deprecated Use {Guardfile::Generator#initialize_template} instead.
@see github.com/guard/guard/wiki/Upgrading-to-Guard-2.0 How to upgrade for
Guard
2.0Deprecator message for the ‘Guardfile.initialize_template` method
- MORE_INFO_ON_UPGRADING_TO_GUARD_2
Public Instance Methods
create_guardfile(options = {})
click to toggle source
# File lib/guard/deprecated/guardfile.rb, line 33 def create_guardfile(options = {}) UI.deprecation(CREATE_GUARDFILE) ::Guard::Guardfile::Generator.new(options).create_guardfile end
initialize_all_templates()
click to toggle source
# File lib/guard/deprecated/guardfile.rb, line 77 def initialize_all_templates UI.deprecation(INITIALIZE_ALL_TEMPLATES) ::Guard::Guardfile::Generator.new.initialize_all_templates end
initialize_template(plugin_name)
click to toggle source
# File lib/guard/deprecated/guardfile.rb, line 55 def initialize_template(plugin_name) UI.deprecation(INITIALIZE_TEMPLATE) ::Guard::Guardfile::Generator.new.initialize_template(plugin_name) end