Handle pathnames being assigned to the working path of a command.

Closes GH-434.
This commit is contained in:
Chris Eppstein 2011-06-19 12:54:11 -07:00
parent 82d739f4dd
commit 852f033160
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ module Compass
attr_accessor :working_path, :options
def initialize(working_path, options)
self.working_path = working_path
self.working_path = working_path.to_s
self.options = options
end

View File

@ -6,7 +6,7 @@ module Compass
attr_accessor :working_path, :from, :to, :options, :sass_options, :staleness_checker, :importer
def initialize(working_path, from, to, options)
self.working_path = working_path
self.working_path = working_path.to_s
self.from, self.to = from.gsub('./', ''), to
self.logger = options.delete(:logger)
sass_opts = options.delete(:sass) || {}