Class: Polka::Operations::ParsedCopying
- Inherits:
-
Object
- Object
- Polka::Operations::ParsedCopying
- Defined in:
- lib/polka/operations/parsed_copying.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(file, dest) ⇒ ParsedCopying
constructor
A new instance of ParsedCopying.
- #run ⇒ Object
Constructor Details
#initialize(file, dest) ⇒ ParsedCopying
Returns a new instance of ParsedCopying.
9 10 11 12 |
# File 'lib/polka/operations/parsed_copying.rb', line 9 def initialize(file, dest) @file = file @dest = dest end |
Class Method Details
.call(file, dest) ⇒ Object
4 5 6 7 |
# File 'lib/polka/operations/parsed_copying.rb', line 4 def self.call(file, dest) copier = new(file, dest) copier.run end |
Instance Method Details
#run ⇒ Object
14 15 16 |
# File 'lib/polka/operations/parsed_copying.rb', line 14 def run write(result) end |