module Path53::Feature::Changes

Constants

Action
Change
ChangeContext

Public Class Methods

included(_) click to toggle source
# File lib/path53/feature/changes.rb, line 37
def self.included(_)
  Action.instance_variable_get('@vals').each do |action|
    define_method(action.downcase) { |*args| action(action, *args) }
  end
end

Public Instance Methods

change(changes)
Alias for: changes
changes(changes) click to toggle source
# File lib/path53/feature/changes.rb, line 21
def changes(changes)
  changes
end
Also aliased as: change

Private Instance Methods

action(action) click to toggle source
# File lib/path53/feature/changes.rb, line 46
def action(action)
  ->(record_set) { action action, record_set }
end