Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
CSS::Calculation
Inherits
Reference
<
Object
Constructors
new
(left :
CalcOperand
, operator :
String
|
Symbol
, right :
CalcOperand
)
Source
Instance methods
*
(other :
CalcOperand
)
Source
+
(other :
CalcOperand
)
Source
-
(other :
CalcOperand
)
Source
/
(other :
CalcOperand
)
Source
expression
Source
left
Source
operator
Source
right
Source
to_css_value
Pure calculation, wrapped to preserve precedence when embedded.
Source