Sha256: be0b71ef0d815866b52187e8ac1aa8d0c4e817fa65ededcd4fb92d1acab768bc

Contents?: true

Size: 441 Bytes

Versions: 11

Compression:

Stored size: 441 Bytes

Contents

$:.unshift File.dirname(__FILE__)

require 'cgi'

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

module Less
  MixedUnitsError = Class.new(Exception)
  PathError = Class.new(Exception)
  CompoundOperationError = 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

11 entries across 11 versions & 3 rubygems

Version Path
cloudhead-less-0.8.11 lib/less.rb
cloudhead-less-0.8.12 lib/less.rb
cloudhead-less-0.8.8 lib/less.rb
cloudhead-less-0.8.9 lib/less.rb
xdissent-less-0.8.12 lib/less.rb
less-0.8.8 lib/less.rb
less-0.8.9 lib/less.rb
less-0.8.10 lib/less.rb
less-0.8.11 lib/less.rb
less-0.8.12 lib/less.rb
less-0.8.13 lib/less.rb