Sha256: 1ee640cc463ddf262e90ea16e7a5c911c05bbfa6dd7275682e7d8a020c9b8918

Contents?: true

Size: 290 Bytes

Versions: 7

Compression:

Stored size: 290 Bytes

Contents

module Memo
  class Cli
    module Usage
      class Preview
        def initialize(err:)
          @err = err.to_s
        end

        def to_s
          <<~TEXT
          #{@err}

          usage:
            $ memo preview my-memo
          TEXT
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ememo-0.1.8 lib/memo/cli/usage/preview.rb
ememo-0.1.7 lib/memo/cli/usage/preview.rb
ememo-0.1.6 lib/memo/cli/usage/preview.rb
ememo-0.1.5 lib/memo/cli/usage/preview.rb
ememo-0.1.4 lib/memo/cli/usage/preview.rb
ememo-0.1.3 lib/memo/cli/usage/preview.rb
ememo-0.1.2 lib/memo/cli/usage/preview.rb