removing directives from some classic snippets

This commit is contained in:
capitaomorte
2009-12-25 17:45:46 +00:00
parent 5cc5037cee
commit 546237f7de
70 changed files with 67 additions and 136 deletions

View File

@@ -1,8 +1,7 @@
#name : include Comparable; def <=> ... end
#group : definitions
# --
include Comparable
def <=> other
$0
end
end

View File

@@ -1,4 +1,3 @@
#name : alias_method new, old
#group : definitions
# --
alias_method :${new_name}, :${old_name}
alias_method :${new_name}, :${old_name}

View File

@@ -1,6 +1,5 @@
#name : class << self ... end
#group : definitions
# --
class << ${self}
$0
end
end

View File

@@ -1,6 +1,5 @@
#name : class ... end
#contributor : hitesh <hitesh.jasani@gmail.com>
#group : definitions
# --
class ${1:`(let ((fn (capitalize (file-name-nondirectory
(file-name-sans-extension

View File

@@ -1,6 +1,5 @@
#name : def method_missing ... end
#group : definitions
# --
def method_missing(method, *args)
$0
end
end

View File

@@ -1,4 +1,3 @@
#name : attr_reader ...
#group : definitions
# --
attr_reader :
attr_reader :

View File

@@ -1,4 +1,3 @@
#name : attr_accessor ...
#group : definitions
# --
attr_accessor :
attr_accessor :

View File

@@ -1,4 +1,3 @@
#name : attr_writer ...
#group : definitions
# --
attr_writer :
attr_writer :