Class: MicroBench::Configurations
- Inherits:
-
Object
- Object
- MicroBench::Configurations
- Defined in:
- lib/micro_bench/configurations.rb
Instance Attribute Summary collapse
-
#formatter ⇒ Object
Returns the value of attribute formatter.
Instance Method Summary collapse
-
#initialize ⇒ Configurations
constructor
Initialize with a default formatters that changes nothing.
Constructor Details
#initialize ⇒ Configurations
Initialize with a default formatters that changes nothing.
7 8 9 |
# File 'lib/micro_bench/configurations.rb', line 7 def initialize @formatter = method(:default_formatter) end |
Instance Attribute Details
#formatter ⇒ Object
Returns the value of attribute formatter.
4 5 6 |
# File 'lib/micro_bench/configurations.rb', line 4 def formatter @formatter end |