Sha256: b576c3fd4ea79dc87a54488f2e84d728958d9a84dc08a964a7b284ed32d5fbe1
Contents?: true
Size: 292 Bytes
Versions: 5
Compression:
Stored size: 292 Bytes
Contents
module LetsFreckle class Configuration [:username, :account_host, :token].each do |method_name| define_method(method_name) do |value=nil| instance_variable_set("@#{method_name}", value) if value instance_variable_get("@#{method_name}") end end end end
Version data entries
5 entries across 5 versions & 1 rubygems