Class: Git::StreamFileRename
- Inherits:
-
Object
- Object
- Git::StreamFileRename
- Defined in:
- lib/git/stream.rb
Instance Attribute Summary collapse
-
#repository_path_from ⇒ Object
Returns the value of attribute repository_path_from.
-
#repository_path_to ⇒ Object
Returns the value of attribute repository_path_to.
Instance Method Summary collapse
-
#initialize(repository_path_from, repository_path_to) ⇒ StreamFileRename
constructor
A new instance of StreamFileRename.
- #to_s ⇒ Object
Constructor Details
#initialize(repository_path_from, repository_path_to) ⇒ StreamFileRename
Returns a new instance of StreamFileRename.
130 131 132 133 |
# File 'lib/git/stream.rb', line 130 def initialize(repository_path_from,repository_path_to) @repository_path_from = repository_path_from @repository_path_to = repository_path_to end |
Instance Attribute Details
#repository_path_from ⇒ Object
Returns the value of attribute repository_path_from.
128 129 130 |
# File 'lib/git/stream.rb', line 128 def repository_path_from @repository_path_from end |
#repository_path_to ⇒ Object
Returns the value of attribute repository_path_to.
128 129 130 |
# File 'lib/git/stream.rb', line 128 def repository_path_to @repository_path_to end |
Instance Method Details
#to_s ⇒ Object
135 136 137 |
# File 'lib/git/stream.rb', line 135 def to_s "R #{repository_path_from} #{repository_path_to}\n" end |