my-emacs-d/elpa/yasnippet-20161022.646/snippets/ruby-mode/formula

17 lines
220 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: formula
# key: form
# --
require 'formula'
class ${1:Name} <Formula
url '${2:url}'
homepage '${3:home}'
md5 '${4:md5}'
def install
${5:system "./configure"}
$0
end
end