lib/git_wrapper/commands/add.rb in git_wrapper-1.0.2 vs lib/git_wrapper/commands/add.rb in git_wrapper-1.0.3
- old
+ new
@@ -1,21 +1,21 @@
-module GitWrapper
- module Commands
- class Add < Git
-
- def all
- @file = '-A'
- self
- end
-
- def file(file_name)
- @file = to_relative_path(file_name)
- self
- end
-
- def command
- "add \"#{@file}\""
- end
-
- end
- end
+module GitWrapper
+ module Commands
+ class Add < Git
+
+ def all
+ @file = '-A'
+ self
+ end
+
+ def file(file_name)
+ @file = to_relative_path(file_name)
+ self
+ end
+
+ def command
+ "add \"#{@file}\""
+ end
+
+ end
+ end
end
\ No newline at end of file