Module: Vmstat::Solaris

Extended by:
ClassMethods
Defined in:
lib/vmstat/solaris.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Methods included from ClassMethods

boot_time, cpu, memory, network_interfaces

Class Method Details

.included(base) ⇒ Object



66
67
68
69
70
71
72
73
# File 'lib/vmstat/solaris.rb', line 66

def self.included base
  base.instance_eval do
    def cpu; Vmstat::Solaris.cpu end
    def boot_time; Vmstat::Solaris.boot_time end
    def memory; Vmstat::Solaris.memory end
    def network_interfaces; Vmstat::Solaris.network_interfaces end
  end
end