Module: Cataract::Backends Private

Defined in:
lib/cataract.rb,
lib/cataract/pure.rb,
lib/cataract/pure/parser.rb,
lib/cataract/pure/flatten.rb,
lib/cataract/pure/serializer.rb,
lib/cataract/pure/specificity.rb,
lib/cataract/pure/declarations.rb,
lib/cataract/pure/byte_constants.rb,
ext/cataract/cataract.c

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Modules: Native Classes: PureImpl

Constant Summary collapse

Pure =

The active-facing constant is a single frozen instance, not the class itself - none of PureImpl's methods touch instance state, so one shared instance is exactly as safe as the bare module this replaces, while giving its methods genuine instance-level private instead of private_class_method.

PureImpl.new.freeze

Class Attribute Summary collapse

Class Attribute Details

.activeObject

Returns the value of attribute active.



33
34
35
# File 'lib/cataract.rb', line 33

def active
  @active
end