SHOW:
|
|
- or go back to the newest paste.
1 | #!/usr/bin/ruby | |
2 | class Frame | |
3 | def initialize | |
4 | @base = {"site" => "", | |
5 | "ip" => "", | |
6 | } | |
7 | end | |
8 | - | @base ||= {} |
8 | + | |
9 | @base["site"] = input | |
10 | end | |
11 | end | |
12 | ||
13 | frame = Frame.new() | |
14 | frame.target("http://google.com") |