I hereby claim:
- I am JoshBrodieNZ on github.
- I am joshbrodienz (https://keybase.io/joshbrodienz) on keybase.
- I have a public key whose fingerprint is DE7C 4BE7 F058 EFFB C455 A875 C7A4 5A1C C65F 6B04
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#@user = nil | |
#attempt = given_credentials | |
#check_sanity(attempt) - String(given.username) to return given.username. | |
#crypt_password!(attempt) given.password.crypt(SALT) will replace given.password | |
#check_credentials!(attempt) | |
#Users are loaded through JSON.load and mapped to SecureCredentials using lambda, then converted to set. | |
#ADMIN is concatenated onto this set. | |
#This set needs to include the given SecureCredentials object. |
class Class | |
def method_added(method_name) | |
puts "#{method_name} to #{self}" | |
if method_name == :after | |
newtest = Test.dup | |
Object.send(:remove_const, :Test) | |
Object.const_set(:Test, newtest) | |
Test.module_eval do | |
def self.expect(*args) | |
puts "LOOK, MA. I CAN CHANGE IT." |