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.
59 60 61 |
# File 'lib/origami/graphics/path.rb', line 59 def from @from end |
#to ⇒ Object
Returns the value of attribute to.
59 60 61 |
# File 'lib/origami/graphics/path.rb', line 59 def to @to end |
Instance Method Details
#initialize(from, to) ⇒ Object
61 62 63 |
# File 'lib/origami/graphics/path.rb', line 61 def initialize(from, to) @from, @to = from, to end |