class GCoder::GCode::Comment

Public Instance Methods

text() click to toggle source

Returns the text of the comment without the parentheses

# File lib/gcoder/gcode.rb, line 117
def text
  code
end
to_s() click to toggle source
# File lib/gcoder/gcode.rb, line 121
def to_s
  "(#{code})"
end