Module: Tinet

Defined in:
lib/tinet.rb,
lib/tinet/cli.rb,
lib/tinet/data.rb,
lib/tinet/link.rb,
lib/tinet/node.rb,
lib/tinet/shell.rb,
lib/tinet/switch.rb,
lib/tinet/setting.rb,
lib/tinet/version.rb,
lib/tinet/command/ps.rb,
lib/tinet/command/up.rb,
lib/tinet/command/base.rb,
lib/tinet/command/conf.rb,
lib/tinet/command/down.rb,
lib/tinet/command/exec.rb,
lib/tinet/command/init.rb,
lib/tinet/command/pull.rb,
lib/tinet/command/build.rb

Defined Under Namespace

Modules: Command, Shell Classes: CLI, Data, InvalidTypeError, InvalidYAMLError, Link, Node, Setting, Switch

Constant Summary collapse

SettingSingleton =
Setting.new
VERSION =
"0.0.2".freeze

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object



42
43
44
45
46
# File 'lib/tinet/setting.rb', line 42

def const_missing(name)
  Setting.const_get name
rescue NameError
  super
end

.method_missing(method, *args) ⇒ Object



48
49
50
51
52
# File 'lib/tinet/setting.rb', line 48

def method_missing(method, *args)
  SettingSingleton.__send__ method, *args
rescue NoMethodError
  super
end