Sha256: af2f6e0d0c86b6e042a5f10e5a84e87ab40f23816d253cf1905d518d39cb1a71

Contents?: true

Size: 352 Bytes

Versions: 5

Compression:

Stored size: 352 Bytes

Contents

# -*- encoding : utf-8 -*-
class Config
  attr_accessor :name, :password
  def initialize(name, password = nil, options = {})
    @name = name
    # TODO Move password to a configuration file.
    @password = password || "i<3evil"

    if options[:downcase]
      @name.downcase!
    end

    if options[:upcase]
      @name.upcase!
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mygithug-0.5.6 levels/grep/config.rb
mygithug-0.5.5 levels/grep/config.rb
mygithug-0.5.4 levels/grep/config.rb
mygithug-0.5.3 levels/grep/config.rb
mygithug-0.5.2 levels/grep/config.rb