Class: Graph::Function::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



33
34
35
36
37
# File 'lib/graph/function.rb', line 33

def initialize
  @terminal = 'x11'
  @output = '.'
  @step = (0..10_000).step(1000).to_a
end

Instance Attribute Details

#outputObject

Returns the value of attribute output.



27
28
29
# File 'lib/graph/function.rb', line 27

def output
  @output
end

#stepObject

Returns the value of attribute step.



28
29
30
# File 'lib/graph/function.rb', line 28

def step
  @step
end

#terminalObject

Returns the value of attribute terminal.



27
28
29
# File 'lib/graph/function.rb', line 27

def terminal
  @terminal
end