Class: Perforce2Svn::Mapping::Delete
- Defined in:
- lib/perforce2svn/mapping/commands.rb
Instance Attribute Summary collapse
-
#svn_path ⇒ Object
readonly
Returns the value of attribute svn_path.
Attributes inherited from Operation
Instance Method Summary collapse
- #execute!(svn_txn) ⇒ Object
-
#initialize(tok, svn_path) ⇒ Delete
constructor
A new instance of Delete.
Constructor Details
#initialize(tok, svn_path) ⇒ Delete
Returns a new instance of Delete.
66 67 68 69 |
# File 'lib/perforce2svn/mapping/commands.rb', line 66 def initialize(tok, svn_path) super(tok) @svn_path = svn_path end |
Instance Attribute Details
#svn_path ⇒ Object (readonly)
Returns the value of attribute svn_path.
65 66 67 |
# File 'lib/perforce2svn/mapping/commands.rb', line 65 def svn_path @svn_path end |
Instance Method Details
#execute!(svn_txn) ⇒ Object
71 72 73 |
# File 'lib/perforce2svn/mapping/commands.rb', line 71 def execute!(svn_txn) svn_txn.delete(@svn_path) end |