Skip to content

Commit 44b7ec5

Browse files
committed
Fix Vale linting issues in Ruby feature flags docs
- Remove 'just' from sentences - Use sentence-style capitalization for 'Remote configuration' - Replace 'via' with 'through' for Vale compliance - Break up long sentence using passive voice for readability
1 parent 0c1e8fa commit 44b7ec5

File tree

1 file changed

+4
-4
lines changed
  • content/en/feature_flags/setup

1 file changed

+4
-4
lines changed

content/en/feature_flags/setup/ruby.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The targeting key is used for consistent traffic distribution (percentage rollou
6969

7070
After creating the `OpenFeature` client, you can start reading flag values throughout your app. Flag evaluation uses locally cached data, so no network requests occur when evaluating flags.
7171

72-
Each flag is identified by a _key_ (a unique string) and can be evaluated with a _typed method_ that returns a value of the expected type. If the flag doesn't exist or cannot be evaluated, the SDK returns the provided default value.
72+
Each flag is identified by a unique string _key_. Flags are evaluated using typed methods that return values matching the expected type. The SDK returns the default value if a flag doesn't exist or cannot be evaluated.
7373

7474
### Boolean flags
7575

@@ -155,7 +155,7 @@ timeout = config['timeout'] || 30
155155

156156
### Flag evaluation details
157157

158-
When you need more than just the flag value, use the `fetch_<type>_details` methods. These methods return both the evaluated value and metadata explaining the evaluation:
158+
When you need more than the flag value, use the `fetch_<type>_details` methods. These methods return both the evaluated value and metadata explaining the evaluation:
159159

160160
```ruby
161161
details = client.fetch_boolean_details(
@@ -196,11 +196,11 @@ end
196196
If feature flags always return default values:
197197

198198
1. Verify Remote Configuration is enabled in your Datadog Agent configuration
199-
2. Ensure service and environment are configured (either via `DD_SERVICE`/`DD_ENV` environment variables or `config.service`/`config.env` in Ruby)
199+
2. Ensure service and environment are configured (either through `DD_SERVICE`/`DD_ENV` environment variables or `config.service`/`config.env` in Ruby)
200200
3. Check that `config.remote.enabled = true` and `config.open_feature.enabled = true` are set in your Ruby application's Datadog configuration
201201
4. Verify the datadog gem version includes OpenFeature support (2.23.0 or later)
202202

203-
### Remote Configuration connection issues
203+
### Remote configuration connection issues
204204

205205
Check the Datadog tracer logs for Remote Configuration status:
206206

0 commit comments

Comments
 (0)