Class: Gi::Api

Inherits:
Object
  • Object
show all
Defined in:
lib/gi.rb

Instance Method Summary collapse

Instance Method Details

#ignores(suf) ⇒ Object



12
13
14
15
# File 'lib/gi.rb', line 12

def ignores(suf)
  cmd = "curl -L -s http://gitignore.io/api/#{suf}"
  return cmd
end

#listAllObject

end



9
10
11
# File 'lib/gi.rb', line 9

def listAll
  puts `curl -L -s http://gitignore.io/api/list`
end