Class: Hobostove::Line::LineSegment

Inherits:
Struct
  • Object
show all
Defined in:
lib/hobostove/line.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



3
4
5
# File 'lib/hobostove/line.rb', line 3

def body
  @body
end

#colorObject

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color



3
4
5
# File 'lib/hobostove/line.rb', line 3

def color
  @color
end