Class: Test1

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

Instance Attribute Summary collapse

Instance Attribute Details

#aObject

Returns the value of attribute a

Returns:

  • (Object)

    the current value of a



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

def a
  @a
end

#bObject

Returns the value of attribute b

Returns:

  • (Object)

    the current value of b



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

def b
  @b
end

#cObject

Returns the value of attribute c

Returns:

  • (Object)

    the current value of c



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

def c
  @c
end