lib/rib/extra/autoindent.rb in rib-1.0.5 vs lib/rib/extra/autoindent.rb in rib-1.1.0
- old
+ new
@@ -2,10 +2,10 @@
require 'rib/core/history' # otherwise the order might be wrong
require 'rib/core/readline' # dependency
require 'rib/core/multiline' # dependency
module Rib::Autoindent
- include Rib::Plugin
+ extend Rib::Plugin
Shell.use(self)
# begin block could be simpler, because it should also trigger
# SyntaxError, otherwise indention would be wiped out.
# but end block should be exactly match, because we don't have