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