Skip to content

Instantly share code, notes, and snippets.

View ricardohsd's full-sized avatar

Ricardo Domingos ricardohsd

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ricardohsd on github.
  • I am ricardohsd (https://keybase.io/ricardohsd) on keybase.
  • I have a public key whose fingerprint is 74B3 0C86 E51C 6E7D 64C8 1C32 04BA 0117 9664 7073

To claim this, I am signing this object:

# language: pt
@search
Funcionalidade: Ordens de Serviço: Notificação Preliminar
Como um fiscal da prefeitura
Com o intúito de fiscalizar os contribuintes
Devo poder acompanhar o andamento das ordens de serviço
Contexto:
module Shoulda
module Matchers
module ActiveRecord
def delegate(attribute)
DelegateMatcher.new(attribute)
end
class DelegateMatcher
def initialize(attribute)
@attribute = attribute
@ricardohsd
ricardohsd / gist:2423194
Created April 19, 2012 19:08
Classe js
;(function(exports){
function PaymentCalculator (value, fine, interest) {
this._value = value;
this._fine = fine;
this._interest = interest;
}
PaymentCalculator.prototype.value = function () {
return this._value;
};