Class: Spoom::Model::Sig

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/spoom/model/model.rb

Overview

A Sorbet signature (sig block)

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#stringObject (readonly)

Returns the value of attribute string.



220
221
222
# File 'lib/spoom/model/model.rb', line 220

def string
  @string
end