vendor/gems/ziya-2.1.7/lib/ziya/maps/support/base.rb
# -----------------------------------------------------------------------
# converts component to yaml style component for yaml parser consumption
converts component to yaml style component for yaml parser consumption
converts component to yaml style component for yaml parser consumption
def to_comp_yaml( indent_multiplier=1 )
      buff = []
      tab  = indent( indent_multiplier )
      buff << "#{dial( self.class.name.ziya_demodulize, name )}"      
      options.each_pair do |k,v|
        buff << "#{tab}#{k}: #{v}" if options[k] and !options[k].to_s.empty?
      end
      buff.join( "\n" )
    end
def to_comp_yaml ( indent_multiplier = 1 ) buff = [ ] tab = indent ( indent_multiplier ) buff << "#{dial( self.class.name.ziya_demodulize, name )}" options . each_pair do | k , v | buff << "#{tab}#{k}: #{v}" if options [ k ] and ! options [ k ] . to_s . empty? end buff . join ( "\n" ) end
converts component to yaml style component for yaml parser consumption
converts component to yaml style component for yaml parser consumption
indent_multiplier