I hereby claim:
- I am wjbuys on github.
- I am wjbuys (https://keybase.io/wjbuys) on keybase.
- I have a public key whose fingerprint is 926A 3953 4E28 759B 76D4 04EC B4F3 C551 86D6 D866
To claim this, I am signing this object:
| require 'rspec' | |
| require 'rr' | |
| module RR | |
| module Adapters | |
| module Rspec | |
| def self.included(mod) | |
| RSpec.configuration.backtrace_clean_patterns.push(RR::Errors::BACKTRACE_IDENTIFIER) | |
| end | |
| end |
| IRB.conf[:AUTO_INDENT] = true | |
| IRB.conf[:USE_READLINE] = true | |
| require 'rubygems' | |
| def suggest(lib) | |
| begin | |
| require lib | |
| yield if block_given? | |
| rescue LoadError |
| describe Template do | |
| it "pulls out parameters from the template body" do | |
| template = Template.new("Look at my template with {Adjective} many {Noun}!") | |
| template.parameters.should == ["Adjective", "Noun"] | |
| message = Message.new(template) | |
| message.parameters.should == { | |
| "Adjective" => nil, | |
| "Noun" => nil | |
| } |
I hereby claim:
To claim this, I am signing this object:
(read through this article for a detailed explanation of the steps)