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
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
#output ⇒ Object
Returns the value of attribute output.
43 44 45 |
# File 'lib/graph/function.rb', line 43 def output @output end |
#step ⇒ Object
Returns the value of attribute step.
44 45 46 |
# File 'lib/graph/function.rb', line 44 def step @step end |
#terminal ⇒ Object
Returns the value of attribute terminal.
43 44 45 |
# File 'lib/graph/function.rb', line 43 def terminal @terminal end |