-
Installing ack with Macports →
-
Bring Vimcast to LA! →
-
RIP
:,((
-
Ry standing on second waiting to run to third. (Taken with instagram)
-
Ry playing softball with the fellas. (Taken with instagram)
-
Ruby: "&&" and "||" > "and" and "or" →
Who knew!!
-
More on RSpec and Rake
Here’s a simple way to specify load order using rake and rspec…
With files:
RSpec::Core::RakeTask.new(:spec) do |task| task.pattern = [ "./spec/fileone_spec.rb", "./spec/filetwo_spec.rb" ] endWith directories:
RSpec::Core::RakeTask.new(:spec) do |task| task.pattern = [ "./spec/dirone", "./spec/dirtwo" ] end -
RSpec2 and Rake →
I was looking for the following and found it here…
require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec -
rSpec — testing protected and private methods
Add the following to the top of your _spec file…
before(:each) do MyClass.send(:public, *MyClass.protected_instance_methods) MyClass.send(:public, *MyClass.private_instance_methods) endEOM
-
Baby Olympics - Part 3
-
Taken with instagram
-
My neice Ryleigh
My girl.
-
Baby Olympics - Part 1
-
Baby Olympics - Part 2








