Class: ClassSketch

Inherits:
Sketch show all
Defined in:
lib/jruby_art/creators/sketch_writer.rb

Overview

A simple class wrapped sketch

Instance Attribute Summary

Attributes inherited from Sketch

#param

Instance Method Summary collapse

Methods inherited from Sketch

#class_methods, #initialize, #methods

Constructor Details

This class inherits a constructor from Sketch

Instance Method Details

#codeObject



116
117
118
119
# File 'lib/jruby_art/creators/sketch_writer.rb', line 116

def code
  lines = ['# frozen_string_literal: true', BLANK]
  lines.concat class_methods
end