Sha256: 50990baedfcd0d563637b695f23c410d0486b3ba3ae186fd5d4e44e4b591d284
Contents?: true
Size: 284 Bytes
Versions: 7
Compression:
Stored size: 284 Bytes
Contents
# lib/gemwarrior/entities/entity.rb # Base class for an interactable object module Gemwarrior class Entity attr_accessor :name, :description def status status_text = name.ljust(26).upcase status_text << "#{description}\n" end end end
Version data entries
7 entries across 7 versions & 1 rubygems