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!
Ruby 0.22 KB | None | 0 0
  1. #!/usr/bin/ruby
  2. class Frame
  3.     @base = {"site"     => "",
  4.         "ip"        => "",
  5.         }
  6.  
  7.     def target(input)
  8.                 @base ||= {}
  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