Sha256: 4dcf2fd4e823bd288573850866f6a552ad62987fd74a1e411ac5abc2e6069f9b

Contents?: true

Size: 291 Bytes

Versions: 15

Compression:

Stored size: 291 Bytes

Contents

module Clevic

class ModelBuilder
  # Not sure if this is the right place to put it, but
  # try here and see if it works out.
  def plain_delegate( field )
    if field.meta.type == :boolean
      BooleanDelegate.new( field )
    else
      TextDelegate.new( field )
    end
  end
end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
clevic-0.14.6 lib/clevic/swing/model_builder.rb
clevic-0.14.5 lib/clevic/swing/model_builder.rb
clevic-0.14.4 lib/clevic/swing/model_builder.rb
clevic-0.14.3 lib/clevic/swing/model_builder.rb
clevic-0.14.2 lib/clevic/swing/model_builder.rb
clevic-0.14.1 lib/clevic/swing/model_builder.rb
clevic-0.14.0 lib/clevic/swing/model_builder.rb
clevic-0.13.0.b12 lib/clevic/swing/model_builder.rb
clevic-0.13.0.b11 lib/clevic/swing/model_builder.rb
clevic-0.13.0.b10 lib/clevic/swing/model_builder.rb
clevic-0.13.0.b9 lib/clevic/swing/model_builder.rb
clevic-0.13.0.b6 lib/clevic/swing/model_builder.rb
clevic-0.13.0.b5 lib/clevic/swing/model_builder.rb
clevic-0.13.0.b3 lib/clevic/swing/model_builder.rb
clevic-0.13.0.b2 lib/clevic/swing/model_builder.rb