module Bundler::Thor::Base::ClassMethods
def is_thor_reserved_word?(word, type) #:nodoc:
Raises an error if the word given is a Bundler::Thor reserved word.
def is_thor_reserved_word?(word, type) #:nodoc: return false unless THOR_RESERVED_WORDS.include?(word.to_s) fail "#{word.inspect} is a Bundler::Thor reserved word and cannot be defined as #{type}" end