Class: Spoom::Model::Sig

Inherits:
Object
  • Object
show all
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

: (String string) -> void



212
213
214
# File 'lib/spoom/model/model.rb', line 212

def initialize(string)
  @string = string
end

Instance Attribute Details

#stringObject (readonly)

: String



209
210
211
# File 'lib/spoom/model/model.rb', line 209

def string
  @string
end