Skip to content

Instantly share code, notes, and snippets.

@pgericson
Created July 28, 2010 10:48
Show Gist options
  • Save pgericson/494022 to your computer and use it in GitHub Desktop.
Save pgericson/494022 to your computer and use it in GitHub Desktop.
module Curl
class Easy
def self.performe
puts "TEST method"
end
puts "easy"
attr_accessor :body_str, :header_str, :response_code
end
end
irb(main):001:0> require 'fake_web/ext/curb'
=> true
irb(main):002:0> Curl::Easy.performe
NameError: uninitialized constant Curl
from (irb):2
@mfn
Copy link

mfn commented Jul 28, 2010

irb(main):001:0> require 'fake_web/ext/curb'
easy
=> true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment