Skip to content

Commit

Permalink
Change symbolize_keys! to symbolize_keys in the context
Browse files Browse the repository at this point in the history
  • Loading branch information
gregbell committed Jun 13, 2012
1 parent 94e902b commit 3c74e83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/arbre/context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ module Arbre
class Context < Element

def initialize(assigns = {}, helpers = nil, &block)
@_assigns = assigns || {}
@_assigns.symbolize_keys!
assigns = assigns || {}
@_assigns = assigns.symbolize_keys

@_helpers = helpers
@_current_arbre_element_buffer = [self]

Expand Down

0 comments on commit 3c74e83

Please sign in to comment.