Sha256: 8f06337eeaec7a8cac48d366a8b2b33fd9cdf37421f56735a5810ca1536d720e

Contents?: true

Size: 263 Bytes

Versions: 7

Compression:

Stored size: 263 Bytes

Contents

module PushType
  module Fields
    module Ui
      
      def column_class
        case @opts[:colspan]
          when 2 then 'medium-6'
          when 3 then 'medium-4'
          when 3 then 'medium-3'
          else nil
        end
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
push_type_core-0.5.3 lib/push_type/fields/ui.rb
push_type_core-0.5.2 lib/push_type/fields/ui.rb
push_type_core-0.5.1 lib/push_type/fields/ui.rb
push_type_core-0.5.0 lib/push_type/fields/ui.rb
push_type_core-0.5.0.alpha.5 lib/push_type/fields/ui.rb
push_type_core-0.5.0.alpha.4 lib/push_type/fields/ui.rb
push_type_core-0.5.0.alpha.3 lib/push_type/fields/ui.rb