Sha256: a36072efb0179a27f96ceda3ee577ce20ce67bee68f6460c59d42119bc96724c
Contents?: true
Size: 430 Bytes
Versions: 8
Compression:
Stored size: 430 Bytes
Contents
class NoMethodError { """ Exception class that gets thrown when a method wasn't found within a class. """ def method_name { """ @return Name of the method not found (as @String@). Returns the name of the method that was not found as a @String@. """ match name to_s { case /^:/ -> name to_s from: 1 to: -1 . to_sym case _ -> name } } def self inspect { "NoMethodError" } }
Version data entries
8 entries across 8 versions & 1 rubygems