Class: PerfLab::Config

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

Instance Method Summary collapse

Instance Method Details

#equality(equality) ⇒ Object



11
12
13
# File 'lib/perflab/config.rb', line 11

def equality(equality)
  @equality = equality
end

#existing(existing) ⇒ Object



3
4
5
# File 'lib/perflab/config.rb', line 3

def existing(existing)
  @existing = existing
end

#improved(improved) ⇒ Object



7
8
9
# File 'lib/perflab/config.rb', line 7

def improved(improved)
  @improved = improved
end

#lambdasObject



15
16
17
18
19
20
21
# File 'lib/perflab/config.rb', line 15

def lambdas
  {
    existing: @existing,
    improved: @improved,
    equality: @equality
  }
end