Sha256: a99e5213ebe692aaa96a997c3df425d5fc3cc8742ffe7c05677ad802ce264e74

Contents?: true

Size: 1.95 KB

Versions: 16

Compression:

Stored size: 1.95 KB

Contents

# This file is autogenerated. Do not edit it by hand. Regenerate it with:
#   srb rbi gems

# typed: strong
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
#   https://github.com/sorbet/sorbet-typed/new/master?filename=lib/method_source/all/method_source.rbi
#
# method_source-0.9.2
module MethodSource
  def self.comment_helper(source_location, name = nil); end
  def self.extract_code(source_location); end
  def self.lines_for(file_name, name = nil); end
  def self.source_helper(source_location, name = nil); end
  def self.valid_expression?(str); end
  extend MethodSource::CodeHelpers
end
module MethodSource::ReeSourceLocation
  def source_location; end
end
module MethodSource::SourceLocation
end
module MethodSource::SourceLocation::MethodExtensions
  def source_location; end
  def trace_func(event, file, line, id, binding, classname); end
end
module MethodSource::SourceLocation::ProcExtensions
  def source_location; end
end
module MethodSource::SourceLocation::UnboundMethodExtensions
  def source_location; end
end
module MethodSource::CodeHelpers
  def comment_describing(file, line_number); end
  def complete_expression?(str); end
  def expression_at(file, line_number, options = nil); end
  def extract_first_expression(lines, consume = nil, &block); end
  def extract_last_comment(lines); end
end
module MethodSource::CodeHelpers::IncompleteExpression
  def self.===(ex); end
  def self.rbx?; end
end
class MethodSource::SourceNotFoundError < StandardError
end
module MethodSource::MethodExtensions
  def comment; end
  def self.included(klass); end
  def source; end
end
class Method
  include MethodSource::MethodExtensions
  include MethodSource::SourceLocation::MethodExtensions
end
class UnboundMethod
  include MethodSource::MethodExtensions
  include MethodSource::SourceLocation::UnboundMethodExtensions
end
class Proc
  include MethodSource::MethodExtensions
  include MethodSource::SourceLocation::ProcExtensions
end

Version data entries

16 entries across 10 versions & 7 rubygems

Version Path
eml-3.0.0 sorbet/rbi/gems/method_source.rbi
eml-2.2.0 sorbet/rbi/gems/method_source.rbi
titleist-1.0.0 sorbet/rbi/gems/method_source.rbi
yard-sorbet-0.0.1 sorbet/rbi/gems/method_source.rbi
camerata-0.0.1 sorbet/rbi/gems/method_source.rbi
clean-architecture-3.0.0 sorbet/rbi/gems/method_source.rbi
mega-os-1.0.0 sorbet/rbi/gems/method_source.rbi
sorbet-rails-0.5.0 spec/support/v5.2/sorbet/rbi/gems/method_source.rbi
sorbet-rails-0.5.0 spec/support/v6.0/sorbet/rbi/gems/method_source.rbi
sorbet-rails-0.5.0 spec/support/v5.0/sorbet/rbi/gems/method_source.rbi
sorbet-rails-0.5.0 spec/support/v5.1/sorbet/rbi/gems/method_source.rbi
sorbet-rails-0.4.0 spec/support/v5.1/sorbet/rbi/gems/method_source.rbi
sorbet-rails-0.4.0 spec/support/v5.0/sorbet/rbi/gems/method_source.rbi
sorbet-rails-0.4.0 spec/support/v6.0/sorbet/rbi/gems/method_source.rbi
sorbet-rails-0.4.0 spec/support/v5.2/sorbet/rbi/gems/method_source.rbi
sorbet-rails-0.3.0 spec/support/v5.2/sorbet/rbi/gems/method_source.rbi