Class: FavroApi::DataTypes::Array

Inherits:
Array
  • Object
show all
Defined in:
lib/favro_api/data_types/base.rb

Class Method Summary collapse

Class Method Details

.new(value = []) ⇒ Object



9
10
11
# File 'lib/favro_api/data_types/base.rb', line 9

def self.new(value = [])
  value ? super(value) : value
end