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



49
50
51
52
53
# File 'lib/graph/function.rb', line 49

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

Instance Attribute Details

#outputObject

Returns the value of attribute output.



43
44
45
# File 'lib/graph/function.rb', line 43

def output
  @output
end

#stepObject

Returns the value of attribute step.



44
45
46
# File 'lib/graph/function.rb', line 44

def step
  @step
end

#terminalObject

Returns the value of attribute terminal.



43
44
45
# File 'lib/graph/function.rb', line 43

def terminal
  @terminal
end