Sha256: 05d7d764c8f31a0c976c0c8f5c436c0251006fa103ed5a0dd6f6ddfa36bafa28

Contents?: true

Size: 366 Bytes

Versions: 3

Compression:

Stored size: 366 Bytes

Contents

require 'cgi'

require 'less/command'
require 'less/engine'
require 'less/tree'

module Less    
  MixedUnitsError = Class.new(Exception)
  PathError = Class.new(Exception)
  
  def self.version
    File.read( File.join( File.dirname(__FILE__), '..', 'VERSION') )
  end
end

class Hash
  # Convert a hash into a Tree  
  def to_tree
    Less::Tree.new self
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
cloudhead-less-0.8.6 lib/less.rb
cloudhead-less-0.8.7 lib/less.rb
less-0.8.7 lib/less.rb