Class: Array

Inherits:
Object show all
Defined in:
lib/dorian/to_struct.rb

Instance Method Summary collapse

Instance Method Details

#from_deep_structObject



16
17
18
# File 'lib/dorian/to_struct.rb', line 16

def from_deep_struct
  map(&:from_deep_struct)
end

#from_structObject



8
9
10
# File 'lib/dorian/to_struct.rb', line 8

def from_struct
  map(&:from_struct)
end

#to_deep_structObject



12
13
14
# File 'lib/dorian/to_struct.rb', line 12

def to_deep_struct
  map(&:to_deep_struct)
end

#to_structObject



4
5
6
# File 'lib/dorian/to_struct.rb', line 4

def to_struct
  map(&:to_struct)
end