mirror of
https://github.com/meineerde/rackstash.git
synced 2025-10-17 14:01:01 +00:00
Remove redundant private method Rackstash::Fields::Array#new
The method is already provided by the parent class AbstractCollection
This commit is contained in:
parent
6958b8f509
commit
494b64c63a
@ -165,12 +165,6 @@ module Rackstash
|
||||
return obj.to_ary if obj.respond_to?(:to_ary)
|
||||
raise TypeError, "no implicit conversion of #{obj.class} into Array"
|
||||
end
|
||||
|
||||
def new(raw)
|
||||
self.class.new.tap do |array|
|
||||
array.raw = raw
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def self.Array(array)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user