Class: GridGenerator::Svg::CloseCommand

Inherits:
PathCommand show all
Defined in:
lib/grid_generator/svg/close_command.rb

Instance Attribute Summary

Attributes inherited from PathCommand

#points

Instance Method Summary collapse

Methods inherited from PathCommand

#==, #initialize

Constructor Details

This class inherits a constructor from GridGenerator::Svg::PathCommand

Instance Method Details

#+(_offset) ⇒ Object



10
11
12
# File 'lib/grid_generator/svg/close_command.rb', line 10

def +(_offset)
  self
end

#to_sObject



14
15
16
# File 'lib/grid_generator/svg/close_command.rb', line 14

def to_s
  type
end

#typeObject



6
7
8
# File 'lib/grid_generator/svg/close_command.rb', line 6

def type
  'Z'
end