Fedruary 17th, 2013 at 2:00 PM
Midwest City Library
8143 East Reno Ave.
Midwest City, OK73110
Open to all: AOK board meetings are open to any members that wish to attend.
module Plugin | |
def some_method | |
puts "Plugin" | |
super | |
end | |
end | |
class A | |
def some_method | |
puts "A" |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Ruby Quiz - Dice Roller (#61)</title> | |
<link rel="stylesheet" type="text/css" href="quiz.css" /> | |
<link rel="stylesheet" type="text/css" href="print.css" media="print" /> | |
</head><body> | |
<div id="page"> | |
<div id="header"><span class="ruby">Ruby</span> <span class="quiz">Quiz</span></div> |
app@botqueen1:/u/apps/botqueen/current$ bundle exec ruby foo.rb | |
Ran 100 requests ****************************** | |
Ran 100 requests ****************************** | |
Ran 100 requests ****************************** | |
Ran 100 requests ****************************** | |
Ran 100 requests ****************************** | |
Ran 100 requests ****************************** | |
Ran 100 requests ****************************** | |
Ran 100 requests ****************************** |
class MethodCounter | |
def initialize | |
@signature = ENV.fetch("COUNT_CALLS_TO") | |
@path = @signature.split(/(?:::|#)/) | |
@scope = @signature.include?("#") ? :instance : :class_or_module | |
@count = 0 | |
@wrapping = false | |
@wrapped = false | |
end |
source :rubygems | |
gem "typhoeus", "~> 0.5.2" | |
gem "vcr", "~> 2.3.0" | |
gem "rspec" |
gem "typhoeus", git: "https://github.com/typhoeus/typhoeus.git", | |
ref: "8e815cdf4fed2322947e2338d6f5b084c820a70b" | |
gem "vcr" | |
gem "rspec" |
GEM | |
remote: http://rubygems.org/ | |
specs: | |
diff-lcs (1.1.3) | |
ethon (0.5.2) | |
ffi (~> 1.0.11) | |
mime-types (~> 1.18) | |
ffi (1.0.11) | |
mime-types (1.19) | |
rake (0.9.2.2) |
require "typhoeus" | |
require "vcr" | |
VCR.configure do |config| | |
config.cassette_library_dir = "vcr_cassettes" | |
config.hook_into :typhoeus | |
end | |
describe VCR do | |
it "should work with a queue" do |