Sha256: b5506e4688604a0cf37d0940eb5b91d2e5ea425820bb2b1f3e35ba594c42f373
Contents?: true
Size: 831 Bytes
Versions: 1
Compression:
Stored size: 831 Bytes
Contents
module Rulz module Conditions def self.load_conditions(reciever, attribute, kind) case kind when :integer Comparison.load_conditions(reciever, attribute) when :float Comparison.load_conditions(reciever, attribute) when :decimal Comparison.load_conditions(reciever, attribute) when :string Container.load_conditions(reciever, attribute) String.load_conditions(reciever, attribute) when :text Container.load_conditions(reciever, attribute) String.load_conditions(reciever, attribute) when :array Container.load_conditions(reciever, attribute) when :hash Container.load_conditions(reciever, attribute) when :boolean Boolean.load_conditions(reciever, attribute) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rulz-1.0.3 | lib/rulz/conditions/conditions.rb |