Sha256: 48673cb606e3965133467231f2d47bb87e3f448d11cbe8ddc67419782a474f86
Contents?: true
Size: 1.79 KB
Versions: 9
Compression:
Stored size: 1.79 KB
Contents
%div.api %ul.klasses - doc.each do |klass, klass_methods| %li %a{:href => '#' + klass[:klass]}= klass[:klass] - doc.each do |klass, klass_methods| / its just a function - if klass_methods[:methods].empty? && klass[:doc].strip != '' %div.meth{:id => klass[:klass]} %h2 =klass[:klass] %span ( %em=klass[:args].join(', ') ) %div.doc>< =convert(klass[:doc]) - else %div.klass{:id => klass[:klass]} %h2 =klass[:klass] %span ( %em=klass[:args].join(', ') ) %div.doc>< = convert(klass[:doc] || "") - unless klass_methods[:attributes].empty? %h3 Attributes %ul - klass_methods[:attributes].each_with_index do |attribute,i| %li %a{:href => "##{klass[:klass]}-#{attribute[:name]}"}=attribute[:name] %hr - klass_methods[:attributes].each_with_index do |attribute, i| %div.attr{:id => "#{klass[:klass]}-#{attribute[:name]}"} %h4 =attribute[:name] \= %span=attribute[:default] %div.doc>< = convert(attribute[:doc]) %h3 Methods %ul -klass_methods[:methods].each_with_index do |meth,i| %li %a{:href => "##{klass[:klass]}-#{meth[:name]}"}=meth[:name] %hr -klass_methods[:methods].each_with_index do |meth,i| %div.meth{:id => "#{klass[:klass]}-#{meth[:name]}"} %h4 =meth[:name] %span ( %em=meth[:args].join(', ') ) %div.doc>< =convert(meth[:doc])
Version data entries
9 entries across 9 versions & 1 rubygems