Sha256: 91a4897c5c218143f0015e62bb8439a8c23161c56bd5b9faa130c83a00882c5a

Contents?: true

Size: 417 Bytes

Versions: 3

Compression:

Stored size: 417 Bytes

Contents

# typed: true
# frozen_string_literal: true

class User < ActiveRecord::Base
  sig { params(struct: T::Struct).returns(User) }
  def self.buckle(struct); end

  sig { params(struct: T::Struct).returns(User) }
  def self.from_struct(struct); end

  sig { returns(T.nilable(String)) }
  def name; end

  sig { returns(T.nilable(Integer)) }
  def age; end

  sig { returns(T.nilable(Location)) }
  def location; end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activerecord-ejection_seat-0.3.2 sorbet/rbi/shims/user.rbi
activerecord-ejection_seat-0.3.1 sorbet/rbi/shims/user.rbi
activerecord-ejection_seat-0.3.0 sorbet/rbi/shims/user.rbi