Class: Test3
- Inherits:
-
Object
- Object
- Test3
- Defined in:
- lib/bench.rb
Instance Method Summary collapse
- #a=(v) ⇒ Object
- #b=(v) ⇒ Object
- #c=(v) ⇒ Object
-
#initialize ⇒ Test3
constructor
A new instance of Test3.
Constructor Details
#initialize ⇒ Test3
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 |