Class: Test3

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

Instance Method Summary collapse

Constructor Details

#initializeTest3

Returns a new instance of Test3.



14
15
16
# File 'lib/bench.rb', line 14

def initialize
  @a = @b = @c = 1
end

Instance Method Details

#a=(v) ⇒ Object



18
19
20
# File 'lib/bench.rb', line 18

def a=(v)
  @a = v
end

#b=(v) ⇒ Object



21
22
23
# File 'lib/bench.rb', line 21

def b=(v)
  @b = v
end

#c=(v) ⇒ Object



24
25
26
# File 'lib/bench.rb', line 24

def c=(v)
  @c = v
end