Sha256: d464adcd3f534b56ccfc9d02a567e12ceb4c2503ef7fb1df776eece5fb1d8688

Contents?: true

Size: 1.32 KB

Versions: 9

Compression:

Stored size: 1.32 KB

Contents

# typed: true

# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `sorbet-struct-comparable` gem.
# Please instead update this file by running `bin/tapioca gem sorbet-struct-comparable`.


# source://sorbet-struct-comparable//lib/sorbet-struct-comparable/version.rb#4
module SorbetStructComparable; end

# source://sorbet-struct-comparable//lib/sorbet-struct-comparable/version.rb#5
SorbetStructComparable::VERSION = T.let(T.unsafe(nil), String)

# source://sorbet-struct-comparable//lib/t/struct/acts_as_comparable.rb#6
module T::Struct::ActsAsComparable
  include ::Comparable

  # source://sorbet-struct-comparable//lib/t/struct/acts_as_comparable.rb#14
  sig { params(other: ::Object).returns(T.nilable(::Integer)) }
  def <=>(other); end

  # source://sorbet-struct-comparable//lib/t/struct/acts_as_comparable.rb#26
  sig { params(other: ::Object).returns(T::Boolean) }
  def eql?(other); end

  # source://sorbet-struct-comparable//lib/t/struct/acts_as_comparable.rb#31
  sig { returns(::Integer) }
  def hash; end
end

# source://sorbet-struct-comparable//lib/t/struct/acts_as_comparable.rb#10
T::Struct::ActsAsComparable::EQUAL = T.let(T.unsafe(nil), Integer)

# source://sorbet-struct-comparable//lib/t/struct/acts_as_comparable.rb#11
T::Struct::ActsAsComparable::NOT_COMPARABLE = T.let(T.unsafe(nil), T.untyped)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sorbet-schema-0.9.2 sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi
sorbet-schema-0.9.1 sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi
sorbet-schema-0.9.0 sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi
sorbet-schema-0.8.0 sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi
sorbet-schema-0.7.2 sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi
sorbet-schema-0.7.1 sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi
sorbet-schema-0.7.0 sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi
sorbet-schema-0.6.0 sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi
sorbet-schema-0.5.1 sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi