If I have an attribute:
default [: mycookbook] [: attr_foo] = "foo"
can i access it in the same file, something like this:
default [: mycookbook] [: attr_bar] = default [: mycookbook] [: attr_foo]
This is possible, however the correct syntax is:
default [: mycookbook] [: attr_bar] = "# {default [: mycookbook] [: attr_foo]}"
.. essentially the attribute is wrapped:
"# {}"
Source: https://habr.com/ru/post/1537431/More articles:Umbraco 7 mvc how to get current page id - asp.net-mvcDisplay various scenes sharing resources on multiple canvases - javascriptProgrammatically retrieve a website URL from an Azure website - c #Django Repositories: Import Error - No Modules with Storage Names - djangoTwo-way data transfer meteor for form validation - javascriptUser Principle in SignalR Hub - c #Why can the `as` operator raise an unpleasant EAccessViolation instead of the usual EIntfCastError? - debuggingC ++ 11 Custom Literals with Microsoft Visual Studio 2013 - c ++PI Approximation: Почему моя декларативная версия медленнее? - clojureReject or exclude filter in Django REST Framework - pythonAll Articles