Skip to content

Instantly share code, notes, and snippets.

@mleszcz
Last active May 16, 2018 12:43
Show Gist options
  • Select an option

  • Save mleszcz/c10f107ec1a8b94065599c63984949fc to your computer and use it in GitHub Desktop.

Select an option

Save mleszcz/c10f107ec1a8b94065599c63984949fc to your computer and use it in GitHub Desktop.

Revisions

  1. mleszcz revised this gist May 16, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion solid-5-dip-1.rb
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # high level
    # higher level
    class Copy
    def self.call
    WriteToHDD.call(ReadFromHDD.call)
  2. mleszcz created this gist May 16, 2018.
    9 changes: 9 additions & 0 deletions solid-5-dip-1.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    # high level
    class Copy
    def self.call
    WriteToHDD.call(ReadFromHDD.call)
    end
    end

    # lower level
    Copy.call