Permalink
Browse files

Errant path

  • Loading branch information...
1 parent e84ea27 commit 91b30198214f7eb938210cac2df8443ad061874a @dhh dhh committed Nov 27, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/jbuilder.rb
View
2 lib/jbuilder.rb
@@ -69,8 +69,6 @@ def method_missing(method, *args, &block)
case
when args.one?
_assign method, args.first
- when args.one? && block_given?
- _assign method, args.first
when args.empty? && block_given?
_yield_nesting method, block
when args.many? && args.first.is_a?(Enumerable)

0 comments on commit 91b3019

Please sign in to comment.