Class: Chemtrail::Section

Inherits:
Array
  • Object
show all
Defined in:
lib/chemtrail/section.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject



2
3
4
# File 'lib/chemtrail/section.rb', line 2

def to_hash
  map(&:to_hash).reduce(Hash.new, :merge)
end