Advertisement
Guest User

Untitled

a guest
Dec 30th, 2011
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/ruby
  2. class Frame
  3.         def initialize
  4.     @base = {"site"     => "",
  5.         "ip"        => "",
  6.         }
  7.               end
  8.     def target(input)
  9.         @base["site"] = input
  10.     end
  11. end
  12.  
  13. frame = Frame.new()
  14. frame.target("http://google.com")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement