mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Ruby 2.1- compatibility
This commit is contained in:
parent
114e80d4e0
commit
158cfd6f03
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ flatten_data_attrs_i2(VALUE k, VALUE v, VALUE ptr)
|
|||
rb_hash_aset(arg->flattened, arg->key, v);
|
||||
} else {
|
||||
key = rb_str_dup(arg->key);
|
||||
rb_str_cat_cstr(key, "-");
|
||||
rb_str_cat(key, "-", 1);
|
||||
rb_str_concat(key, to_s(k));
|
||||
|
||||
rb_hash_aset(arg->flattened, key, v);
|
||||
|
|
Loading…
Reference in a new issue