Avoid Guard is not missing constant ...
exceptions. (fixes #160)
This commit is contained in:
parent
a5fb1aa601
commit
10f1542ac3
@ -76,7 +76,7 @@ module Guard
|
|||||||
# @see Guard::DslDescriber.list
|
# @see Guard::DslDescriber.list
|
||||||
#
|
#
|
||||||
def list
|
def list
|
||||||
Guard::DslDescriber.list(options)
|
::Guard::DslDescriber.list(options)
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'version', 'Show the Guard version'
|
desc 'version', 'Show the Guard version'
|
||||||
@ -87,7 +87,7 @@ module Guard
|
|||||||
# @see Guard::VERSION
|
# @see Guard::VERSION
|
||||||
#
|
#
|
||||||
def version
|
def version
|
||||||
Guard::UI.info "Guard version #{ Guard::VERSION }"
|
::Guard::UI.info "Guard version #{ Guard::VERSION }"
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'init [GUARD]', 'Generates a Guardfile at the current working directory, or insert the given GUARD to an existing Guardfile'
|
desc 'init [GUARD]', 'Generates a Guardfile at the current working directory, or insert the given GUARD to an existing Guardfile'
|
||||||
@ -100,7 +100,7 @@ module Guard
|
|||||||
# @param [String] guard_name the name of the Guard to initialize
|
# @param [String] guard_name the name of the Guard to initialize
|
||||||
#
|
#
|
||||||
def init(guard_name = nil)
|
def init(guard_name = nil)
|
||||||
Guard.initialize_template(guard_name)
|
::Guard.initialize_template(guard_name)
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'show', 'Show all defined Guards and their options'
|
desc 'show', 'Show all defined Guards and their options'
|
||||||
@ -112,7 +112,7 @@ module Guard
|
|||||||
# @see Guard::DslDescriber.show
|
# @see Guard::DslDescriber.show
|
||||||
#
|
#
|
||||||
def show
|
def show
|
||||||
Guard::DslDescriber.show(options)
|
::Guard::DslDescriber.show(options)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user