class ToQuickform::Rule
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/to_quickform/rule.rb, line 9 def initialize(attributes = {}) if attributes.is_a?(Hash) (required_attributes + optional_attributes).each do |key| value = attributes[key] self.send "#{key}=", value end end attr_missing! end
Public Instance Methods
group?()
click to toggle source
# File lib/to_quickform/rule.rb, line 19 def group? group end