Sha256: 0ca598bcf5feb2db7335d391711e43bed9f5c2828949f48fbf71eb126d5867cb
Contents?: true
Size: 425 Bytes
Versions: 3
Compression:
Stored size: 425 Bytes
Contents
require 'moblues/generator/swift/base' module Moblues module Generator module Swift class Human < Base def generate(output_dir, entity) write_swift(output_dir, entity, :human) unless File.exists?(file_path(output_dir, entity)) end private def file_path(output_dir, entity) File.join(output_dir, "#{entity.name}.swift") end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
moblues-0.4.0 | lib/moblues/generator/swift/human.rb |
moblues-0.3.0 | lib/moblues/generator/swift/human.rb |
moblues-0.2.0 | lib/moblues/generator/swift/human.rb |