module StudioGame::Formatting
Public Instance Methods
format_dot_spacing(name, attribute_value)
click to toggle source
# File lib/studio_game/formatting.rb, line 3 def format_dot_spacing(name, attribute_value) "#{name.ljust(25, ".")} #{attribute_value}" end
format_section_title(title)
click to toggle source
# File lib/studio_game/formatting.rb, line 7 def format_section_title(title) "\n" + " #{title.upcase} ".center(20, "-") end