class Sashite::Cpn::Shape
Shape
class.
Attributes
indexes[R]
@!attribute [r] indexes
@return [Array] The list of indexes.
Public Class Methods
new(*indexes)
click to toggle source
@param indexes [Array] The list of indexes.
# File lib/sashite/cpn/shape.rb, line 8 def initialize(*indexes) @indexes = indexes end
Public Instance Methods
to_s()
click to toggle source
@return [String] A string representation.
# File lib/sashite/cpn/shape.rb, line 18 def to_s indexes.join(',') end