Module: Zabby

Defined in:
lib/rbZabbix/config.rb,
lib/rbZabbix.rb,
lib/rbZabbix/runner.rb,
lib/rbZabbix/zclass.rb,
lib/rbZabbix/version.rb,
lib/rbZabbix/connection.rb,
lib/rbZabbix/exceptions.rb,
lib/rbZabbix/shell_helpers.rb

Overview

Author

Farzad FARID (<[email protected]>)

Copyright

Copyright © 2011-2012 Farzad FARID

License

Simplified BSD License

Defined Under Namespace

Modules: ShellHelpers, ZClass Classes: APIError, APIInfo, Action, Alert, Application, AuthenticationError, Config, Configuration, ConfigurationError, Connection, DCheck, DHost, DRule, DService, DiscoveryRule, Event, Graph, GraphPrototype, Graphitem, HTTPTest, History, Host, HostPrototype, Hostgroup, Hostinterface, Image, Item, ItemPrototype, Maintenance, Map, Mediatype, Proxy, ResponseCodeError, Runner, Screen, ScreenItem, Script, Service, Template, TemplateScreen, TemplateScreenItem, Trigger, TriggerPrototype, User, Usergroup, Usermacro, Usermedia

Constant Summary collapse

VERSION =
"0.1.5"

Class Method Summary collapse

Class Method Details

.init(&block) ⇒ Object



23
24
25
26
27
# File 'lib/rbZabbix.rb', line 23

def self.init &block
  z = Zabby::Runner.instance
  z.run(&block) if block_given?
  z
end