Sha256: e78d6e057160506b4c200cf8ea88fb96111a42e64c63b2fe17c3603491100027
Contents?: true
Size: 682 Bytes
Versions: 1
Compression:
Stored size: 682 Bytes
Contents
# frozen_string_literal: true require 'mini_racer' require_relative 'handlebarsjs/version' require_relative 'handlebarsjs/snapshot_builder' require_relative 'handlebarsjs/handlebars' module Handlebarsjs JAVASCRIPT_PATH = 'lib/handlebarsjs/javascript/handlebars-4.7.7.js' # raise Handlebarsjs::Error, 'Sample message' Error = Class.new(StandardError) # Your code goes here... end if ENV.fetch('KLUE_DEBUG', 'false').downcase == 'true' namespace = 'Handlebarsjs::Version' file_path = $LOADED_FEATURES.find { |f| f.include?('handlebarsjs/version') } version = Handlebarsjs::VERSION.ljust(9) puts "#{namespace.ljust(35)} : #{version.ljust(9)} : #{file_path}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
handlebarsjs-0.1.2 | lib/handlebarsjs.rb |