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?
- #category=(category : String?)
- #full_category : Category?
- #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)