Class: Ddr::FileTools::TextCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/ddr/filetools/text_command.rb

Instance Attribute Summary

Attributes inherited from Command

#provider

Instance Method Summary collapse

Methods inherited from Command

#initialize

Constructor Details

This class inherits a constructor from Ddr::FileTools::Command

Instance Method Details

#call(file_path) ⇒ Object



7
8
9
# File 'lib/ddr/filetools/text_command.rb', line 7

def call(file_path)
  provider.text(file_path)
end