Permalink
Browse files

* More alias fixes.

  • Loading branch information...
Erik Hollensbe
Erik Hollensbe committed Jul 8, 2010
1 parent 1cf8eb4 commit bd3ad6060fb135a487d71cdb389cbba912ebb6be
Showing with 2 additions and 2 deletions.
  1. +2 −1 lib/hanna/template_files/method_list.haml
  2. +0 −1 lib/hanna/template_files/page.haml
@@ -4,7 +4,8 @@
%h2 Methods
- %w[attr attr_accessor attr_reader attr_writer class instance].each do |type|
- RDoc::Context::VISIBILITIES.each do |vis|
- - list = methods.select { |x| x.visibility == vis && x.type == type.to_s }
+ -# FIXME ugly
+ - list = methods.reject { |x| x.respond_to?(:is_alias_for) && x.is_alias_for }.select { |x| x.visibility == vis && x.type == type.to_s }
- unless list.empty?
- type_result = ""
- if type =~ /^attr_/
@@ -21,7 +21,6 @@
- values[:entry].in_files.each_with_index do |file, index|
%li{ :class => index > 0 ? 'other' : nil }
-# FIXME cleanup
- - p [file.path, values[:entry].path]
= link_to file.full_name, Pathname.new(file.path).relative_path_from(Pathname.new(values[:entry].path).dirname)
- if values[:entry].in_files.size > 1
%li

0 comments on commit bd3ad60

Please sign in to comment.