Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix source type typos #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions book-cw/part-4-managing/complexity.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ Besides this, we would much prefer to define variables with hierarchy and nestin
If we want our product data to be available throughout our development environment, we're stuck with a semi-structured language like YAML.

.Example of static parameter setting in YAML
[source,ruby]
[source,yaml]
----
domain: codewriting.org
url: http://codewriting.org
Expand All @@ -389,7 +389,7 @@ Unfortunately, it is not useful for AsciiDoc, which requires flat variables.
What if we could flatten our data structures and add variables based the key-value pairs we've already defined?

.Example of _cumulative_ parameter setting in YAML
[source,ruby]
[source,yaml]
----
domain: codewriting.org
url: http://$domain
Expand All @@ -402,7 +402,7 @@ Here our tokens are defined using the format `$some_key-1` (alphanumeric chars,
Flattened and parsed, this structure would read like so:

.Example of flattened and parsed parameters in YAML
[source,ruby]
[source,yaml]
----
domain: codewriting.org
domain_url: http://codewriting.org
Expand Down