Class: RubyLabs::RandomLab::NumberLine

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

Instance Attribute Summary collapse

Instance Attribute Details

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



17
18
19
# File 'lib/randomlab.rb', line 17

def line
  @line
end

#npointsObject

Returns the value of attribute npoints

Returns:

  • (Object)

    the current value of npoints



17
18
19
# File 'lib/randomlab.rb', line 17

def npoints
  @npoints
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



17
18
19
# File 'lib/randomlab.rb', line 17

def options
  @options
end