Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
locks committed Dec 13, 2014
1 parent caefc94 commit 80787dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mustache/context.rb
Expand Up @@ -128,8 +128,10 @@ def find(obj, key, default = nil)
meth.arity == 1 ? meth.to_proc : meth.call
end


private


# If a class, we need to find tags (methods) per Parser::ALLOWED_CONTENT.
def to_tag key
key.to_s.include?('-') ? key.to_s.tr('-', '_') : key
Expand Down

0 comments on commit 80787dc

Please sign in to comment.