Sha256: 702ea05758b5007b821f6e6cf882705ae810d925ac4c2fec80fa8afd35ce251f
Contents?: true
Size: 491 Bytes
Versions: 9
Compression:
Stored size: 491 Bytes
Contents
def init @page_title = "#{object.name.to_s.gsub(/Controller/,"")} - #{options[:title]}" sections :header, [T('docstring'), :method_details_list, [T('method_details')]] end def method_details_list objects = Array(object) objects_with_resources_tags = index_objects(objects) @meths = [] unless objects_with_resources_tags.empty? objects_with_resources_tags.each do |obj| @meths += obj.meths.select{|x| x.has_tag? :resource} end end erb(:method_details_list) end
Version data entries
9 entries across 9 versions & 1 rubygems