Remove unnecessary constant
This commit is contained in:
parent
330e011c6c
commit
e9e11072d3
@ -3,10 +3,8 @@
|
||||
|
||||
module ActiveSupport
|
||||
module BigDecimalWithDefaultFormat #:nodoc:
|
||||
DEFAULT_STRING_FORMAT = 'F'
|
||||
|
||||
def to_s(format = nil)
|
||||
super(format || DEFAULT_STRING_FORMAT)
|
||||
def to_s(format = 'F')
|
||||
super(format)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user