lib/hexx/suit/metrics/base.rb in hexx-suit-0.0.1 vs lib/hexx/suit/metrics/base.rb in hexx-suit-0.1.0
- old
+ new
@@ -20,11 +20,12 @@
# The utility class for sending commands to the system
SYSTEM = Utils::System
# Loads metric settings and configures the current metric
#
- # @return (see #load)
+ # @return [Hexx::Suit::Metrics]
+ # the configured metric object
def self.load
send(:new).load
end
# Configures and runs the current metric
@@ -34,13 +35,10 @@
load.run
end
# Loads the configuration file and configures the metric
#
- # @abstract
- #
- # @return [Hexx::Suit::Metrics]
- # the configured metric object
+ # @return [self]
#
# @api private
def load
self
end