# File lib/less/engine.rb, line 15 def initialize obj, options = {} @less = if obj.is_a? File @path = File.dirname File.expand_path(obj.path) obj.read elsif obj.is_a? String obj.dup else raise ArgumentError, "argument must be an instance of File or String!" end @options = options @parser = StyleSheetParser.new end