Created
July 28, 2010 10:48
-
-
Save pgericson/494022 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Curl | |
class Easy | |
def self.performe | |
puts "TEST method" | |
end | |
puts "easy" | |
attr_accessor :body_str, :header_str, :response_code | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):001:0> require 'fake_web/ext/curb' | |
=> true | |
irb(main):002:0> Curl::Easy.performe | |
NameError: uninitialized constant Curl | |
from (irb):2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
irb(main):001:0> require 'fake_web/ext/curb'
easy
=> true