Permalink
Browse files

arg, messed up checking ripl

  • Loading branch information...
cldwalker committed Apr 25, 2011
1 parent de179c2 commit 293c5c9f7f86b0ab27616f7cd8499982e84aa441
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/hirb/view.rb
View
@@ -175,7 +175,7 @@ def add(klass, view_config)
#:stopdoc:
def enable_output_method
- if defined? Ripl && Ripl.respond_to?(:started?) && Ripl.started?
+ if defined?(Ripl) && Ripl.respond_to?(:started?) && Ripl.started?
@output_method = true
require 'ripl/hirb' unless defined? Ripl::Hirb
elsif defined? IRB::Irb

0 comments on commit 293c5c9

Please sign in to comment.