Class: SpecForge::Attribute::Literal

Inherits:
Attribute
  • Object
show all
Defined in:
lib/spec_forge/attribute/literal.rb

Overview

Represents an attribute that is a literal value

This is the simplest form of attribute, storing values like strings, numbers, and booleans without any processing.

Examples:

Basic usage in YAML

name: "John Doe"
age: 42
active: true