Sha256: 79ac8fe4b0f4f26f7d9f8ccfc3931ae34164c9c885b668af55d7c4e11ecc9766

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

module Clementine
  class ClojureScriptEngineBase
    def default_opts
      key = "output_dir"
      value = ""
      if defined?(Rails)
        value = File.join(Rails.root, "app", "assets", "javascripts", "clementine")
      else
        value = Dir.pwd
      end
      {key => value}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clementine-0.0.2 lib/clementine/clojurescript_engine/base.rb