Class: Gi::Api
- Inherits:
-
Object
- Object
- Gi::Api
- 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 |
#listAll ⇒ Object
end
9 10 11 |
# File 'lib/gi.rb', line 9 def listAll puts `curl -L -s http://gitignore.io/api/list` end |