lib/yard/parser/c/statement.rb in yard-0.9.20 vs lib/yard/parser/c/statement.rb in yard-0.9.21
- old
+ new
@@ -29,9 +29,11 @@
def first_line
source.split(/\n/).first
end
+ alias signature first_line
+
def show
"\t#{line}: #{first_line}"
end
end