Skip to content
This repository was archived by the owner on Mar 22, 2020. It is now read-only.

v0.0.1 #1

Merged
merged 7 commits into from
Aug 11, 2013
Merged

v0.0.1 #1

merged 7 commits into from
Aug 11, 2013

Conversation

toshiaki-koshiba
Copy link
Collaborator

Rename config params

Add config param

  • custom_determine_color_code

set ruby code of determinate color to config_param :custom_determine_color_code

Parameter

time, record, value

Example

everytime 'green'

custom_determine_color_code return 'green'

if value > 90 then 'red' else 'green'

custom_determine_color_code if  value > 90; 'red'; else 'green'; end

If raise some exception

server didn't respond

  • use config color value
  • write warn log

toshiaki-koshiba and others added 7 commits August 10, 2013 10:45
set ruby code of determinate color to config_param :custom_determine_color_code

Parameter
----

time, record, value

Example
----

everytime 'green'

````
custom_determine_color_code return 'green'
````

if value > 90 then 'red'
else 'green'

````
custom_determine_color_code if  value > 90; 'red'; else 'green'; end
````

If raise some exception
----

use config color value and write warn log
bash0C7 pushed a commit that referenced this pull request Aug 11, 2013
@bash0C7 bash0C7 merged commit 206c147 into master Aug 11, 2013
@bash0C7 bash0C7 deleted the namahamu branch August 11, 2013 06:44
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants