module Myth

Constants

EngineError
Error
PreprocessingError

Public Class Methods

engine() click to toggle source
# File lib/myth.rb, line 34
def engine
end
engine=(engine) click to toggle source
# File lib/myth.rb, line 37
def engine=(engine)
end
preprocess(script, options = {}) click to toggle source

Preprocess a stylesheet (String or IO).

# File lib/myth.rb, line 45
def preprocess(script, options = {})
  script = script.read if script.respond_to?(:read)

  Source.context.call("preprocess", script, options)
end
version() click to toggle source
# File lib/myth.rb, line 40
def version
  Source.version
end