class Kstats::Node::Probe::Variable

Attributes

color[RW]
desc[RW]
name[R]
probe[RW]

Public Class Methods

new(name, parent) click to toggle source
# File lib/kstats/node/probe.rb, line 75
def initialize name, parent
  @name = name
  @parent = parent
end

Public Instance Methods

command() click to toggle source
# File lib/kstats/node/probe.rb, line 80
def command
  @parent.command
end
from_dsl(&block) click to toggle source
# File lib/kstats/node/probe.rb, line 88
def from_dsl &block
  dsl = DSL.new(self)
  dsl.instance_eval(&block)

  return self
end
test() click to toggle source
# File lib/kstats/node/probe.rb, line 84
def test
  instance_eval(&probe)
end