Module: Compass::Magick::Scriptable

Included in:
Canvas, Command, Type
Defined in:
lib/magick/scriptable.rb

Overview

Common Sass node methods module.

In order to export certain classes for Sass, they must implement a set of methods. This module provides a no-op implementation.

Instance Attribute Summary collapse

Instance Attribute Details

#contextSymbol

The context in which this node was parsed, which determines how some operations are performed.

Returns:

  • (Symbol)


29
30
31
# File 'lib/magick/scriptable.rb', line 29

def context
  @context
end

#options{Symbol => Object}

Returns The options hash.

Returns:

  • ({Symbol => Object})

    The options hash.



15
16
17
# File 'lib/magick/scriptable.rb', line 15

def options
  @options
end