Gazler/githug

View on GitHub
levels/grep/config.rb

Summary

Maintainability
A
0 mins
Test Coverage
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