Skip to content

Instantly share code, notes, and snippets.

View pcrglennon's full-sized avatar

Peter Glennon pcrglennon

  • Philadelphia, PA
View GitHub Profile
{
"basics": {
"name": "Peter Glennon",
"label": "Software Engineer",
"picture": "",
"email": "[email protected]",
"phone": "(914) 417-7850",
"website": "",
"summary": "",
"location": {
{
"basics": {
"name": "John Doe",
"label": "Programmer",
"picture": "",
"email": "[email protected]",
"phone": "(912) 555-4321",
"website": "http://johndoe.com",
"summary": "A summary of John Doe...",
@pcrglennon
pcrglennon / validate_with_matcher.rb
Last active April 10, 2023 06:21 — forked from Bartuz/validate_with_matcher.rb
RSpec matcher for validates_with
# RSpec matcher for validates_with.
# https://gist.github.com/2032846
# Usage:
#
# describe User do
# it { should validate_with CustomValidator }
# end
#
# describe User do
# it do
var currencySymbols = {
USD: "$"
};
var delimiters = {
USD: ","
};
var separators = {
USD: "."