Class: HaikuGadget::DebugLineTemplate

Inherits:
LineTemplate show all
Defined in:
lib/haiku_gadget/debug_line_template.rb

Overview

This subclass is used for development/test environment testing of specific line templates by displaying them in all caps so they are easier to recognize.

Constant Summary

Constants inherited from LineTemplate

LineTemplate::EXISTING_SYLLABLES_PRIORITY

Instance Attribute Summary

Attributes inherited from LineTemplate

#word_templates

Instance Method Summary collapse

Methods inherited from LineTemplate

#clone, #complete_plurality, #complete_syllables, #current_syllables, #initialize

Constructor Details

This class inherits a constructor from HaikuGadget::LineTemplate

Instance Method Details

#real_wordsObject



8
9
10
11
12
13
14
15
16
# File 'lib/haiku_gadget/debug_line_template.rb', line 8

def real_words

#      if !Rails.env.production?
    super.map { |w| w.upcase }
#      else
#        super
#      end

end