mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
772cc7a4f2
commit
c9dd4823d9
21 changed files with 32 additions and 28 deletions
|
@ -25,7 +25,7 @@ module IRB
|
|||
end
|
||||
module_function :def_notifier
|
||||
|
||||
class AbstructNotifier
|
||||
class AbstractNotifier
|
||||
def initialize(prefix, base_notifier)
|
||||
@prefix = prefix
|
||||
@base_notifier = base_notifier
|
||||
|
@ -72,7 +72,7 @@ module IRB
|
|||
end
|
||||
end
|
||||
|
||||
class CompositeNotifier<AbstructNotifier
|
||||
class CompositeNotifier<AbstractNotifier
|
||||
def initialize(prefix, base_notifier)
|
||||
super
|
||||
|
||||
|
@ -93,7 +93,7 @@ module IRB
|
|||
|
||||
def level_notifier=(value)
|
||||
case value
|
||||
when AbstructNotifier
|
||||
when AbstractNotifier
|
||||
@level_notifier = value
|
||||
when Integer
|
||||
l = @notifiers[value]
|
||||
|
@ -107,7 +107,7 @@ module IRB
|
|||
alias level= level_notifier=
|
||||
end
|
||||
|
||||
class LeveledNotifier<AbstructNotifier
|
||||
class LeveledNotifier<AbstractNotifier
|
||||
include Comparable
|
||||
|
||||
def initialize(base, level, prefix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue