Module: Logging
- Defined in:
- lib/string_length_conformable/logging.rb
Instance Method Summary collapse
Instance Method Details
#log ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/string_length_conformable/logging.rb', line 4 def log text = <<-TEXT \n #{'*' * 100} String is validated by gem string_length_conformable. for more info visit https://github.com/Yaponcik/string_length_conformable #{'*' * 100} TEXT Logger.new(STDOUT).info text end |