Class: DevelopWithPassion::Expander::ShellActionAgainstFile
- Defined in:
- lib/developwithpassion_expander/shell_action_against_file.rb
Instance Method Summary collapse
-
#initialize(cmd) ⇒ ShellActionAgainstFile
constructor
A new instance of ShellActionAgainstFile.
- #run_using(file_name) ⇒ Object
Constructor Details
#initialize(cmd) ⇒ ShellActionAgainstFile
Returns a new instance of ShellActionAgainstFile.
4 5 6 |
# File 'lib/developwithpassion_expander/shell_action_against_file.rb', line 4 def initialize(cmd) @cmd = cmd end |