Class: Graph::Function::Configuration
- Inherits:
-
Object
- Object
- Graph::Function::Configuration
- Defined in:
- lib/graph/function.rb
Instance Attribute Summary collapse
-
#output ⇒ Object
Returns the value of attribute output.
-
#step ⇒ Object
Returns the value of attribute step.
-
#terminal ⇒ Object
Returns the value of attribute terminal.
Instance Method Summary collapse
- #initialize ⇒ Configuration constructor
Constructor Details
#initialize ⇒ Configuration
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
#output ⇒ Object
Returns the value of attribute output.
27 28 29 |
# File 'lib/graph/function.rb', line 27 def output @output end |
#step ⇒ Object
Returns the value of attribute step.
28 29 30 |
# File 'lib/graph/function.rb', line 28 def step @step end |
#terminal ⇒ Object
Returns the value of attribute terminal.
27 28 29 |
# File 'lib/graph/function.rb', line 27 def terminal @terminal end |