Class: Ignorance::SvnIgnoreFile
- Inherits:
-
IgnoreFile
- Object
- IgnoreFile
- Ignorance::SvnIgnoreFile
- Defined in:
- lib/ignorance/svn_ignore_file.rb
Instance Attribute Summary collapse
-
#ignore_file ⇒ Object
readonly
Returns the value of attribute ignore_file.
-
#repo_dir ⇒ Object
readonly
Returns the value of attribute repo_dir.
Instance Method Summary collapse
-
#initialize ⇒ SvnIgnoreFile
constructor
A new instance of SvnIgnoreFile.
Methods inherited from IgnoreFile
#exists?, #ignore!, #ignored?, #included?, #its_a_repo?, #name
Constructor Details
#initialize ⇒ SvnIgnoreFile
Returns a new instance of SvnIgnoreFile.
7 8 9 10 |
# File 'lib/ignorance/svn_ignore_file.rb', line 7 def initialize @ignore_file = '.svnignore' @repo_dir = '.svn' end |
Instance Attribute Details
#ignore_file ⇒ Object (readonly)
Returns the value of attribute ignore_file.
5 6 7 |
# File 'lib/ignorance/svn_ignore_file.rb', line 5 def ignore_file @ignore_file end |
#repo_dir ⇒ Object (readonly)
Returns the value of attribute repo_dir.
5 6 7 |
# File 'lib/ignorance/svn_ignore_file.rb', line 5 def repo_dir @repo_dir end |