Sha256: 02242997e23ac4bcd80256c6809a070ff6de98604784bd0f98236fd52c2fe315

Contents?: true

Size: 360 Bytes

Versions: 14

Compression:

Stored size: 360 Bytes

Contents

# encoding: utf-8

require "ace/filters/template"

# rule Ace::Static, "about.html.haml"
# rule Ace::Static("output/index.html"), "index.html.haml"
module Ace
  def self.Static(output_path)
    Class.new(Static) do
      define_method(:output_path) do
        output_path
      end
    end
  end

  class Static < Item
    before Ace::TemplateFilter
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ace-0.4.9 lib/ace/static.rb
ace-0.4.8 lib/ace/static.rb
ace-0.4.7 lib/ace/static.rb
ace-0.4.6 lib/ace/static.rb
ace-0.4.5 lib/ace/static.rb
ace-0.4.4 lib/ace/static.rb
ace-0.4.3 lib/ace/static.rb
ace-0.4.2 lib/ace/static.rb
ace-0.4.1 lib/ace/static.rb
ace-0.4 lib/ace/static.rb
ace-0.3.3 lib/ace/static.rb
ace-0.3.2 lib/ace/static.rb
ace-0.3.1 lib/ace/static.rb
ace-0.3 lib/ace/static.rb