Sha256: fe14ac12a68c8425a7be4d34b97e1d1156af1085db950fa84c7137eb0e3c9195

Contents?: true

Size: 809 Bytes

Versions: 1

Compression:

Stored size: 809 Bytes

Contents

module MegaBar
  class GridHtml
    attr_accessor :app_format
    attr_accessor :app_wrapper
    attr_accessor :field_header_wrapper
    attr_accessor :app_wrapper_end
    attr_accessor :field_header_wrapper
    attr_accessor :field_header_wrapper_end
    attr_accessor :record_wrapper
    attr_accessor :record_wrapper_end
    attr_accessor :field_wrapper
    attr_accessor :field_wrapper_end 
    attr_accessor :separate_header_row
    def initialize
      @app_format = 'grid'
      @app_wrapper = '<table>'
      @app_wrapper_end = '</table>'
      @field_header_wrapper = '<th>'
      @field_header_wrapper_end =  '</th>'
      @record_wrapper = '<tr>'
      @record_wrapper_end = '<th>'
      @field_wrapper = '<td>'
      @field_wrapper_end = '</td>'
      @separate_header_row = true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mega_bar-0.0.1 app/controllers/mega_bar/grid_html.rb