Skip to content

Commit

Permalink
In README, match sample code to match the description in the correspo…
Browse files Browse the repository at this point in the history
…nding comment
  • Loading branch information
mumoshu committed Nov 11, 2013
1 parent 624d97e commit a7a2291
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ require 'observed/clockwork'

include Clockwork

the_dir = Pathname.new(File.dirname(__FILE__))

# Below two lines are specific to Observed's Clockwork support.
# Others lines are just standard `clockwork.rb`
include Observed::Clockwork

the_dir = Pathname.new(File.dirname(__FILE__))

register_observed_handler :config_file => the_dir + 'observed.rb'

every(10.seconds, 'google.health')
Expand Down Expand Up @@ -145,7 +145,7 @@ report /google.health/, via: 'stdout', with: {
}
```

As you see, `observed.conf` is just a Ruby source to describe Observed's configuration.
As you see, `observed.rb` is just a Ruby source to describe Observed's configuration.
You can rely on Ruby's language features, gems, or etc.

We have finished configuring Observed.
Expand Down

0 comments on commit a7a2291

Please sign in to comment.