Sha256: 7b5b8ac9b0b9f7518adc873e1bea82cef084666af2ebea9f162b9e827c033d39

Contents?: true

Size: 195 Bytes

Versions: 4

Compression:

Stored size: 195 Bytes

Contents

module Precious
  module Views
    class Search < Layout
      attr_reader :content, :page, :footer, :results, :query

      def has_results
        !@results.empty?
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
gollum-1.1.1 lib/gollum/frontend/views/search.rb
gollum-1.1.0 lib/gollum/frontend/views/search.rb
tecnh-gollum-1.0.2.auth2 lib/gollum/frontend/views/search.rb
tecnh-gollum-1.0.2.auth lib/gollum/frontend/views/search.rb