Sha256: ca1ecdad169117c52a362c02749e86610121263d805dcb22396c0b608cfef613

Contents?: true

Size: 130 Bytes

Versions: 8

Compression:

Stored size: 130 Bytes

Contents

module Reform::Form::Changed
  def changed?(name=nil)
    !! changed[name.to_s]
  end

  def changed
    @changed ||= {}
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
reform-1.2.6 lib/reform/form/changed.rb
reform-1.2.5 lib/reform/form/changed.rb
reform-1.2.4 lib/reform/form/changed.rb
reform-1.2.3 lib/reform/form/changed.rb
reform-1.2.2 lib/reform/form/changed.rb
reform-1.2.1 lib/reform/form/changed.rb
reform-1.2.0.beta2 lib/reform/form/changed.rb
reform-1.2.0.beta1 lib/reform/form/changed.rb