class StubFile
Constants
- TRAILING_WHITE_SPACE
Public Instance Methods
puts(*args)
click to toggle source
Calls superclass method
# File lib/yard-sketchup/templates/stubs/fulldoc/text/setup.rb, line 285 def puts(*args) case args.size when 0 super when 1 super trim_trailing_white_space(args[0].to_s) else raise NotImplementedError end end
Private Instance Methods
trim_trailing_white_space(string)
click to toggle source
# File lib/yard-sketchup/templates/stubs/fulldoc/text/setup.rb, line 299 def trim_trailing_white_space(string) string.gsub(TRAILING_WHITE_SPACE, '') end