Sha256: 179b251a2376dad5ec59b46b09cde82a7c6150299cddeb44955759a65a5c68e0

Contents?: true

Size: 269 Bytes

Versions: 8

Compression:

Stored size: 269 Bytes

Contents

require 'cgi'

module Precious
  module Views
    class Index < Layout
      attr_reader :roots

      def title
        "Index"
      end

      def has_roots
        !@roots.empty?
      end
      
      def no_roots
        @roots.empty?
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
rtfmd-0.10301.20 lib/gollum/frontend/views/index.rb
rtfmd-0.10301.19 lib/gollum/frontend/views/index.rb
rtfmd-0.10301.18 lib/gollum/frontend/views/index.rb
rtfmd-0.10301.17 lib/gollum/frontend/views/index.rb
RTFMd-0.10301.17 lib/gollum/frontend/views/index.rb
RTFMd-0.10301.16 lib/gollum/frontend/views/index.rb
RTFMd-0.10301.15 lib/gollum/frontend/views/index.rb
RTFMd-0.10301.14 lib/gollum/frontend/views/index.rb