lib/latinum/formatters.rb in latinum-1.4.2 vs lib/latinum/formatters.rb in latinum-1.5.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
# Copyright, 2015, by Samuel G. D. Williams. <http://www.codeotaku.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
@@ -19,10 +21,9 @@
# THE SOFTWARE.
module Latinum
module Formatters
DEFAULT_OPTIONS = {
- :format => :full
}
class PlainFormatter
def initialize(name:)
@name = name