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



101
102
103
104
# File 'lib/jruby_art/creators/sketch_writer.rb', line 101

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