Sha256: 28053d5a5a61761bd5e338a687093d442aab18fc622383c810153d3df6502929
Contents?: true
Size: 314 Bytes
Versions: 4
Compression:
Stored size: 314 Bytes
Contents
require 'volt/volt/environment' class Volt def self.root @root ||= File.expand_path(Dir.pwd) end def self.server? !ENV['CLIENT'] end def self.client? !!ENV['CLIENT'] end def self.source_maps? !!ENV['MAPS'] end def self.env @env ||= Volt::Environment.new end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
volt-0.4.0 | lib/volt.rb |
volt-0.3.9 | lib/volt.rb |
volt-0.3.8 | lib/volt.rb |
volt-0.3.7 | lib/volt.rb |