Sha256: 3618d1ecf329a338ed1b682ca07fd57a845962f08da10023be452e1890e74d49

Contents?: true

Size: 836 Bytes

Versions: 2

Compression:

Stored size: 836 Bytes

Contents

# encoding: utf-8
module Nokaya
  class Status
    def self.downloading img_link
      "\nDownloading #{img_link}, please wait...\n\n"
    end
    def self.saved path
      "Image saved in #{path}\n\n"
    end
    def self.no_can_do
      "Canceled: unable to get the page contents.\n\n"
    end
    def self.no_url
      "\nYou have to specify a page URL.\n\n"
    end
    def self.error
      "\nAn unknown error happened.\n\n"
    end
    def self.canceled
      "\nCanceled.\n\n"
    end
    def self.saving file
      "Saving #{file}\n"
    end
    def self.done
      "\nDone.\n\n"
    end
    def self.downloading_album dir
      "\nDownloading album at #{dir}/...\n\n"
    end
    def self.toresolve number
      "\n#{number} links to resolve.\n\n"
    end
    def self.resolving p
      "Resolving #{p}...\n"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nokaya-0.0.8 lib/nokaya/status.rb
nokaya-0.0.7 lib/nokaya/status.rb