mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Isn't this intending to check if names.is_a?(Hash) ❓
This commit is contained in:
parent
d186cb083f
commit
c065f1e4ee
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ END
|
|||
end
|
||||
|
||||
def locals_code(names)
|
||||
names = names.keys if Hash == names
|
||||
names = names.keys if Hash === names
|
||||
|
||||
names.map do |name|
|
||||
# Can't use || because someone might explicitly pass in false with a symbol
|
||||
|
|
Loading…
Reference in a new issue