class Pohoda::Parsers::Lst::ListGroupStocksType
Public Instance Methods
group_stocks()
click to toggle source
# File lib/pohoda/parsers/lst/list_group_stocks_type.rb, line 7 def group_stocks array_of_at(Gr::GroupStocksType, ['lst:groupStocks']) end
to_h()
click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_group_stocks_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:group_stocks] = group_stocks.map(&:to_h) if has? 'lst:groupStocks' hash super.merge(hash) end