Sha256: 63fdb70500b3507e7e1f929bc2d864c92a2af617c63fc2feb46e2f50197a8ffb
Contents?: true
Size: 319 Bytes
Versions: 1
Compression:
Stored size: 319 Bytes
Contents
module Cello module Structure module SelectHelper def define_extras_for_select(name) define_method "select_#{name}" do |value| send(name).select(value) end define_method "clear_#{name}" do send(name).select("Selecione...") end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cello-0.0.12 | lib/cello/select_helper.rb |