Class: Spoom::Model::Sig
- Inherits:
-
Object
- Object
- Spoom::Model::Sig
- Extended by:
- T::Sig
- Defined in:
- lib/spoom/model/model.rb
Overview
A Sorbet signature (sig block)
Instance Attribute Summary collapse
-
#string ⇒ Object
readonly
Returns the value of attribute string.
Instance Method Summary collapse
-
#initialize(string) ⇒ Sig
constructor
A new instance of Sig.
Constructor Details
#initialize(string) ⇒ Sig
Returns a new instance of Sig.
223 224 225 |
# File 'lib/spoom/model/model.rb', line 223 def initialize(string) @string = string end |
Instance Attribute Details
#string ⇒ Object (readonly)
Returns the value of attribute string.
220 221 222 |
# File 'lib/spoom/model/model.rb', line 220 def string @string end |