Sha256: 216039e9f6453c69e471c0fe32e8d6df4bf912063ce7409d94c5bc61cd2a32d3

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 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
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nokaya-0.0.4 lib/nokaya/status.rb
nokaya-0.0.3 lib/nokaya/status.rb
nokaya-0.0.2 lib/nokaya/status.rb