struct Srcom::Variable
- Srcom::Variable
- Struct
- Value
- Object
Overview
Has shorthand methods to getting the resources that the Link
s in #links
point to.
Included Modules
- JSON::Serializable
Defined in:
srcr/mappings/variable/variable.crConstructors
Instance Method Summary
- #category : String | Nil
- #category=(category : String | Nil)
- #full_category : Category | Nil
- #game : Game
- #id : String
- #id=(id : String)
- #is_subcategory : Bool
- #is_subcategory=(is_subcategory : Bool)
- #links : Array(Link)
- #links=(links : Array(Link))
- #mandatory : Bool
- #mandatory=(mandatory : Bool)
- #name : String
- #name=(name : String)
- #obsoletes : Bool
- #obsoletes=(obsoletes : Bool)
-
#scope
Shorthand of
Scope#type
, sinceVariable::Scope
wraps just this attribute anyway - #scope=(scope : Variable::Scope)
- #user_defined : Bool
- #user_defined=(user_defined : Bool)
- #values : Variable::Values
- #values=(values : Variable::Values)