Class: ClassSketch

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

Overview

A simple class wrapped sketch

Instance Method Summary collapse

Methods inherited from Sketch

#class_methods, #methods

Instance Method Details

#code(param) ⇒ Object



95
96
97
98
# File 'lib/jruby_art/creators/sketch_writer.rb', line 95

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