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
: String.
Instance Method Summary collapse
-
#initialize(string) ⇒ Sig
constructor
: (String string) -> void.
Constructor Details
#initialize(string) ⇒ Sig
: (String string) -> void
212 213 214 |
# File 'lib/spoom/model/model.rb', line 212 def initialize(string) @string = string end |
Instance Attribute Details
#string ⇒ Object (readonly)
: String
209 210 211 |
# File 'lib/spoom/model/model.rb', line 209 def string @string end |