Module: Origami::Graphics::Path::Segment
- Included in:
- Line
- Defined in:
- lib/origami/graphics/path.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from.
63 64 65 |
# File 'lib/origami/graphics/path.rb', line 63 def from @from end |
#to ⇒ Object
Returns the value of attribute to.
63 64 65 |
# File 'lib/origami/graphics/path.rb', line 63 def to @to end |
Instance Method Details
#initialize(from, to) ⇒ Object
65 66 67 |
# File 'lib/origami/graphics/path.rb', line 65 def initialize(from, to) @from, @to = from, to end |