SassC::Script::Value < Object — The abstract superclass for SassScript objects.
from /home/chedong/.local/share/rdoc
| Use Case | Command | Description |
|---|---|---|
| 📦 Create a new value | SassC::Script::Value.new | Constructor for a new SassScript value |
| 🔍 Compare equality | == | Check equality with another value |
| ➡️ Convert to array | to_a | Convert to array representation |
| 🔁 Convert to boolean | to_bool | Convert to boolean |
| 🗂️ Convert to hash | to_h | Convert to hash |
| 🔢 Convert to integer | to_i | Convert to integer |
| 📝 Convert to string | to_s | Convert to string |
| 📄 Get Sass representation | to_sass | Convert to Sass syntax |
| 🔍 Inspect value | inspect | Return human-readable representation |
| ❓ Check if null | null? | Check if value is null |
| 📦 Get value | value | Return the underlying Ruby value |
The abstract superclass for SassScript objects. Many of these methods, especially the ones that correspond to SassScript operations, are designed to be overridden by subclasses which may change the semantics somewhat. The operations listed here are just the defaults.
new==_performassert_int!bracketedeql?hashinspectnull?optionsseparatorsource_rangeto_ato_boolto_hto_ito_sto_sassvaluewith_contentssource_range (attr_accessor)value (attr_reader)options (attr_writer)Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 22:45 @216.73.216.177
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format