Sha256: cd295c35ceff127e11475a09655c2bb4a89151dc8329cc76fda55550447cbfc2

Contents?: true

Size: 214 Bytes

Versions: 4

Compression:

Stored size: 214 Bytes

Contents

require "singleton"

module Picasa
  class Config
    include Singleton
    attr_accessor :google_user
  end

  def self.config
    if block_given?
      yield Config.instance
    end
    Config.instance
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
picasa-0.3.3 lib/picasa/config.rb
picasa-0.3.2 lib/picasa/config.rb
picasa-0.3.1 lib/picasa/config.rb
picasa-0.3 lib/picasa/config.rb