This file contains 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
diff --git a/lib/niconico.rb b/lib/niconico.rb | |
index da773f9..d9f8940 100644 | |
--- a/lib/niconico.rb | |
+++ b/lib/niconico.rb | |
@@ -22,6 +22,7 @@ class Niconico | |
@logined = false | |
@agent = Mechanize.new | |
+ @agent.ssl_version = "SSLv3" | |
end |
This file contains 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
require 'yaml' | |
class A | |
def load_setting | |
YAML.load_file("./hoge.yaml") # hoge.yaml => setting: 1 | |
end | |
end | |
class B | |
CONST = A.new.load_setting |
This file contains 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
### test |
NewerOlder