Fixed last bug with multiline in properties.
This commit is contained in:
parent
3daf138b09
commit
8d92cad720
1 changed files with 1 additions and 1 deletions
2
oop.sh
2
oop.sh
|
@ -187,5 +187,5 @@ property() {
|
||||||
# Default value
|
# Default value
|
||||||
eval "_${varName}_properties[$prop]='$propertyValue'"
|
eval "_${varName}_properties[$prop]='$propertyValue'"
|
||||||
# Property alias
|
# Property alias
|
||||||
eval "$propertyFullName() { _accessProperty $varName $prop \$@; }"
|
eval "$propertyFullName() { _accessProperty $varName $prop \$1 \"\${@:2}\"; }"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue