Class: Houcho::OuterRole::Yabitz
- Inherits:
-
Object
- Object
- Houcho::OuterRole::Yabitz
- Defined in:
- lib/houcho/outerrole/yabitz.rb
Class Method Summary collapse
Class Method Details
.load ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/houcho/outerrole/yabitz.rb', line 14 def load begin yabitz = YAML.load_file(Houcho::Config::FILE)["yabitz"] rescue end if yabitz yabitzrole = create_yabitz_role(yabitz["host"], yabitz["port"]) save_outer_role(yabitzrole, "Yabitz") end end |