Sha256: 7c37f23656f702512630bb3fd407610223082ab553f802c13abb61872607d437
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
# Class for describing Line Size module OoxmlParser class LineSize # Parse LineSize # @param [Nokogiri::XML:Attr] node with LineSize # @return [Symbol] value of LineSize def self.parse(node) case node when 'lg' :large when 'med' :medium when 'sm' :small else node.to_sym end end end end
Version data entries
2 entries across 2 versions & 1 rubygems