Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- awesomeville:~ soawesomeman$ irb
- irb(main):001:0> require 'rubygems'
- => true
- irb(main):002:0> require 'addressable/uri'
- => true
- irb(main):003:0> require 'pp'
- => true
- irb(main):004:0> beer = Addressable::URI.new
- => #<Addressable::URI:0xc37abc URI:>
- irb(main):005:0> pp (beer.methods - Object.methods).sort
- ["+",
- "absolute?",
- "authority",
- "authority=",
- "basename",
- "display_uri",
- "extname",
- "fragment",
- "fragment=",
- "host",
- "host=",
- "inferred_port",
- "ip_based?",
- "join",
- "join!",
- "merge",
- "merge!",
- "normalize",
- "normalize!",
- "normalized_authority",
- "normalized_fragment",
- "normalized_host",
- "normalized_password",
- "normalized_path",
- "normalized_port",
- "normalized_query",
- "normalized_scheme",
- "normalized_user",
- "normalized_userinfo",
- "omit",
- "omit!",
- "password",
- "password=",
- "path",
- "path=",
- "port",
- "port=",
- "query",
- "query=",
- "query_values",
- "query_values=",
- "relative?",
- "route_from",
- "route_to",
- "scheme",
- "scheme=",
- "to_hash",
- "to_str",
- "user",
- "user=",
- "userinfo",
- "userinfo=",
- "validation_deferred",
- "validation_deferred="]
- => nil
- irb(main):006:0>
Add Comment
Please, Sign In to add comment