Class: Rightscale::Rackspace::BenchmarkingBlock

Inherits:
Object
  • Object
show all
Defined in:
lib/rackspace_base.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBenchmarkingBlock

Returns a new instance of BenchmarkingBlock.



29
30
31
32
33
34
# File 'lib/rackspace_base.rb', line 29

def initialize
  # Benchmark::Tms instance for service access benchmarking.
  @service = Benchmark::Tms.new()
  # Benchmark::Tms instance for parsing benchmarking.
  @parser = Benchmark::Tms.new()
end

Instance Attribute Details

#parserObject

Returns the value of attribute parser.



28
29
30
# File 'lib/rackspace_base.rb', line 28

def parser
  @parser
end

#serviceObject

Returns the value of attribute service.



28
29
30
# File 'lib/rackspace_base.rb', line 28

def service
  @service
end