Method: Pastenum::Gist#initialize

Defined in:
lib/pastenum/targets/gist.rb

#initialize(dork) ⇒ Gist

Returns a new instance of Gist.



5
6
7
8
9
10
11
# File 'lib/pastenum/targets/gist.rb', line 5

def initialize(dork)
  @dork = URI.escape(dork)
  @vendor = "https://gist.github.com/"
  @raw_url = "https://raw.github.com/gist/"
  
  super
end