Sha256: dbc5c0371efb8f11b8008059f060f38de5fefb5465bd8086b3513a5ce000c44a

Contents?: true

Size: 235 Bytes

Versions: 28

Compression:

Stored size: 235 Bytes

Contents

module Cream::View
  module Host
    def for_localhost(&block)
      yield block if localhost?
    end  

    def for_public(&block)
      # with_output_buffer(&block) if publichost?
      yield block if publichost?
    end  
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
cream-0.8.9.1 lib/cream/view/host_area.rb
cream-0.8.9 lib/cream/view/host_area.rb
cream-0.8.8 lib/cream/view/host_area.rb
cream-0.8.7 lib/cream/view/host_area.rb
cream-0.8.6 lib/cream/view/host_area.rb
cream-0.8.5 lib/cream/view/host_area.rb
cream-0.8.4 lib/cream/view/host_area.rb
cream-0.8.3 lib/cream/view/host_area.rb
cream-0.8.2 lib/cream/view/host_area.rb
cream-0.8.1 lib/cream/view/host_area.rb
cream-0.8.0 lib/cream/view/host_area.rb
cream-0.7.10 lib/cream/view/host_area.rb
cream-0.7.8 lib/cream/view/host_area.rb
cream-0.7.7 lib/cream/view/host_area.rb
cream-0.7.6 lib/cream/view/host_area.rb
cream-0.7.5 lib/cream/view/host_area.rb
cream-0.7.3 lib/cream/view/host_area.rb
cream-0.7.2 lib/cream/view/host_area.rb
cream-0.7.0 lib/cream/view/host_area.rb
cream-0.6.4 lib/cream/view/host_area.rb