lib/gitenv/context.rb in gitenv-1.0.0 vs lib/gitenv/context.rb in gitenv-1.0.4
- old
+ new
@@ -4,10 +4,10 @@
class Context
attr_accessor :ignores
def initialize config, options = {}
- @config, @from, @ignores = config, options[:from], options[:ignores]
+ @config, @from = config, options[:from]
@to ||= File.expand_path('~')
@ignores = options[:ignores] || []
@ignores << '.DS_Store' if @ignores.empty? and RbConfig::CONFIG['host_os'] =~ /darwin/