Sha256: b14e7d5eedc8f394701a50d78396b2d42bdeded1e8b6ba54c7a10afffe06a99a

Contents?: true

Size: 171 Bytes

Versions: 6

Compression:

Stored size: 171 Bytes

Contents

module Tableficate
  module Utils
    def self.template_path(template, theme = '')
      File.join(['tableficate', theme, template].delete_if(&:blank?))
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tableficate-0.2.1 lib/tableficate/utils.rb
tableficate-0.2.0 lib/tableficate/utils.rb
tableficate-0.1.3 lib/tableficate/utils.rb
tableficate-0.1.2 lib/tableficate/utils.rb
tableficate-0.1.1 lib/tableficate/utils.rb
tableficate-0.0.1 lib/tableficate/utils.rb