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
220 221 222 |
# File 'lib/spoom/model/model.rb', line 220 def initialize(string) @string = string end |
Instance Attribute Details
#string ⇒ Object (readonly)
: String
217 218 219 |
# File 'lib/spoom/model/model.rb', line 217 def string @string end |