class Guard::Guardfile::Evaluator
def initialize(opts = {})
(**opts)
-
contents
(String
) -- a string representing the -
guardfile
(String
) -- the path to a valid Guardfile
def initialize(opts = {}) @type = nil @path = nil @user_config = nil opts = _from_deprecated(opts) if opts[:contents] @type = :inline @contents = opts[:contents] elsif opts[:guardfile] @type = :custom @path = Pathname.new(opts[:guardfile]) # may be updated by _read end end